A fan has a power rating of 20 watts and is used for 1 hour. calculate the total energy transferred.​