Write Boundary Conditions For Electrostatic Potential Energy