We have a mass point moving on a smooth curve: $$r = a\cos(\phi/2) (\sin(\phi) i + \cos(\phi) j), a>0$$
On this mass point there is gravity force.
We need to calculate the stable position.
Professor's solution:
Can somebody please explain how did we get $U$. I do not understand this solution.


