Calculation and Application of Electric Potential