The efficiency of the device is 30 %
Explanation:
The efficiency of a heat engine is given by:

where
W is the work done by the engine
is the heat in input to the engine
For the device in this problem, we have:
W = 120 J is the work done
is the heat in input
Substituting, we find the efficiency:

which corresponds to an efficiency of 30%.
Learn more about work:
brainly.com/question/6763771
brainly.com/question/6443626
#LearnwithBrainly