When capacitor is removed, `tan phi = (X_(L))/(R) ` (It is L - R circuit)
`tan phi = tan 45^(@) = (X_(L))/(R) rArr X_(L)= R`
When inductor is removed, `tan phi = (X_(C))/(R) = (1)/(2) = (X_(C))/(R) rArr X_(C)=(R)/(2)`
Impendances `Z=sqrt(R^(2)+(X_(L)-X_(C))^(2))=sqrt(R^(2)+(R-(R)/(2))^(2))=(Sqrt(5))/(2) R`
Now, `l_("rms")=(E_("rms"))/(Z) = (200)/(250) = 0.8A, cos phi = (R)/(Z) = (2) /(sqrt(5))`
`P_(av)=V_("rms")l_("rms")cos phi = 64 sqrt(5) W`