Answer:
[tex]\eta = 0.8 = 80\%[/tex]
Explanation:
Efficency of a machine is defined as the ratio of "useful" energy over the total energy imput in it. In this case a kettle wants to heat water, so thermal energy is what we need; if we wanted to build some kind of music instrument, we would be looking at the energy generating vibrations.
[tex]\eta = \frac{1200J}{1500J} = 0.8[/tex]