During a test, a floor-polishing machine receives 18 kJ of energy. The energy transferred usefully is three times the energy dissipated. Its mean useful power output is 500 W. What is the duration of the test?
27 s27\ \mathrm{s}27 s
24 s24\ \mathrm{s}24 s
9 s9\ \mathrm{s}9 s
36 s36\ \mathrm{s}36 s