Question: how to get the mechanical energy of an object?
Answer: An object's ability to do work is measured by its mechanical energy, or the sum the object's kinetic energy and potential energy. Mechanical energy is due to the position or movement of an object. The formula for mechanical energy is mechanical energy = kinetic energy + potential energy.