the potential energy of the system is given by