Electrostatics ( also known as static electricity ) is the branch of physics that deals with apparently stationary electric charges . Electrostatics is the branch of science that deals with the phenomena arising from stationary or slow-moving electric charges .