In the circuit in the figure, the switch closes at time t = 0. What is the change of capacitor voltage and coil current in the range of 0-15 seconds? Show the solution in M. file and Simulink. Can you help me solve this question, please?

enter image description here

  • 3
    \$\begingroup\$ I'm voting to close this question as off-topic because it's a homework problem with no effort shown. \$\endgroup\$ – Hearth Mar 26 at 17:09

Well, we can write the following set of equations:

$$ \begin{cases} \text{I}\left(t\right)=\text{V}_\text{R}\left(t\right)\\ \\ \text{I}\left(t\right)=2\text{V}_\text{L}'\left(t\right)\\ \\ \text{I}'\left(t\right)=2\text{V}_\text{C}\left(t\right)\\ \\ 20=\text{V}_\text{R}\left(t\right)+\text{V}_\text{L}\left(t\right)+\text{V}_\text{C}\left(t\right)\\ \\ \text{I}\left(0\right)=0\\ \\ \text{V}_\text{C}\left(0\right)=4 \end{cases}\tag1 $$

| improve this answer | |
  • \$\begingroup\$ I want matlab code i dont write code \$\endgroup\$ – FurkanSNGR Mar 26 at 20:09
  • \$\begingroup\$ @FurkanSNGR well I'm not giving you the Matlab code, use my equations and the solution can be found. \$\endgroup\$ – Jan Mar 26 at 21:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.