I'm unsure about the RLC low-pass filter transfer and frequency response functions I've been trying to calculate.
I need $$ H(s)=\frac{Y(s)}{X(s)} $$ where x(t) is Vin and y(t) is Vr. I calculated $$\frac{d^2v_c(t)}{dt^2}+\frac{1}{LC}v_c(t)=\frac{1}{LC}x(t)$$or$$ H(s)=\frac{1}{s^2LC+1} $$
This transfer/frequency response has been giving me the correct magnitudes but obviously doesn't give a phase angle. Have I calculated the transfer function correctly in this instance? Any assistance would be appreciated.