This question was asked in Potential Energy
Expression for potential energy 
mohd ali's image