If an AC current is given by $i = i_m \sin(\omega t)$, the instantaneous power dissipated in a resistor $R$ is given by:
The context states: 'The instantaneous power dissipated in the resistor is $p = i^2 R = i_m^2 R \sin^2 (\omega t)$'. This directly provides the formula for instantaneous power.