from rest from the point P and it comes to rest at a point R. The energies