[tex]\begin{gathered} efficiency\text{ = e = 18\%=0.18} \\ energy\text{ input = input = }500joules\text{ /second} \\ useful\text{ energy = useful =?} \\ t=15\text{ minutes } \\ \text{time in second} \\ t=\text{ (15)(60)=900 seconds} \\ e=\frac{\text{useful}}{\text{Input}} \\ \text{Solving useful} \\ \text{useful = e}\cdot input \\ \text{useful = (0.18)(500 joules/second)} \\ \text{useful = 90 joules/ second} \\ In\text{ 900 seconds} \\ \text{Total energy =(900 second)( 90 joules/ second)} \\ \text{Total energy =81,000 joules} \\ The\text{ useful energy that the machine }generates\text{ is 81,000 joules} \end{gathered}[/tex]