Could any body help i have been trying to solve the solution to an equation for my maths assignment but doesnt match the given final solution that i have. The equation is:

Given that L di/dt + Ri = Esin wt and that i=0 when t=0 show that the solution of the equation is given by

i= [E / R^2 + w^2 L^2](Rsin wt - wL cos wt)+ [ E w L/R^2+w^2 L^2] e ^-Rt/L

Can any body help me???