{\displaystyle S=\int _{t_{1}}^{t_{2}}{\big (}{\text{KE}}(t)-{\text{PE}}(t){\big )}\,dt,}