A pendulum is oscillating on either side of its rest position. The correct statement is:
(a) It has only the kinetic energy.
(b) it has the maximum kinetic energy at its extreme position.
(c) it has the maximum potential energy at its rest position.
(d) The sum of its kinetic and potential energies remains constant throughout the motion.