Both mechanical energy and mechanical work are measured in the same units as energy in general . In physics , mechanical energy describes the sum of potential energy and kinetic energy present in the components of a mechanical system . Mechanical energy is the energy associated with the motion or position of an object .