Conservation of Energy in Case of Electrostatics