Which of the following is the formula for potential energy?