How do I set up and solve a second order differential equation to find the voltage across a capacitor knowing R, L, C, the peak to peak voltage source, and the frequency?

As far as I can tell, it is:

L*(d^2i/dt^2)+R(di/dt)+(1/C)i=wVcoswt

But I am unsure about the RHS of the equation and then what to do from there to find the voltage across the capacitor...

Any help is much appreciated