MATLAB: RLC equations

rlc

Hello!
Could anybody help me to form equations which describe RLC circuit? —R1—L—— | | | e C R2 | | | —————
I need to form Simulink model(consist of integrators,derivatives) to find C current and R2 current. C and R2 are in parallel.
Thank you!
Related Question