Total Mechanical Energy Equation