Electrostatic analysis for plane problems with finite formulation