Question

If a switch is pressed for 3 seconds and while it is pressed there is a voltage drop of 4.5V across a 220 resistor. How much energy in Joules is

dissipated across the resistor while the switch is held down?

Fig: 1