Difficult# Phases of Voltage and Current

EANDM-PWNTTZ

The voltage across a resistor $R$ in a one loop circuit is given by $V=V_0 sin(2\pi f t)$. In this circuit, the current is found to lag behind the voltage by $\phi =-\pi /4$ radians. The peak current is $I_0$.

What is the average power consumed by the resistor, in terms of $R$, $V_0$, $I_0$ and $\phi$,?