The pendulum weight swings side to side. It has maximum kinetic energy when it is mid-swing, closest to the ground. At this point it swings back up. Its kinetic energy is transformed to gravitational potential energy. Its maximum gravitational potential energy occurs when it is at its maximum height, when it stops, just before swinging to the other side.
A friend that's not him :) since you gave us one choice, taking diet pills are a a type of fad diet, and usually have bad side effects. plus taking supplements is never a good idea