What are the state variable equations of this RLC circuit? How do I write the final matrix? I tried to write the equations for the capacitor and inductor:
$$L\frac{di_3}{dt}=v_1-v_C \leftrightarrow \frac{di_3}{dt}=\frac{v_1}{L}-\frac{v_C}{L}$$
$$C\frac{dv_C}{dt}=i_3\leftrightarrow \frac{dv_C}{dt}=\frac{1}{C}i_3$$
I tried to apply the Kirchoff's law:
(1) $$i_1R_1+L\frac{di_3}{dt}+v_C=v(t)\leftrightarrow i_1=\frac{v(t)}{R_1}-\frac{L}{R_1}\frac{di_3}{dt}-\frac{v_C}{R_1}$$
(2)
$$v_1=v(t)-R_1i_1$$
From these equations I am unable to reach the final matrix. How could I go on?