A pendulum has 15-J of potential energy at the top of its swing.
What is its kinetic energy at the bottom of its swing?
At another time the pendelum has 8-J of potential energy. What is its kinetic energy?
What will its kinetic energy be if it loses 2-J to heat?