The efficiency of a lifting machine is the ratio of