Equation To Find Total Energy