a machine works with an efficiency of 18%. the energy input is 500 joules/second. how much useful energy will the machine generate in 15 minutes?