See the Circuit in the Attached Files first ///
I have to find the current in the mash I L(t) so the mesh current but the initial I L(0) = I initial = 3 mAH, now I have the the I(t) when I assumed that t=0 which is:
I(t) = Vs/R (1 - e^((-R/L)*t)))
Then I have done everything again with the assumption that I L(0) = I ini and then I have got this equation:
I L(t) = Vs/R + (I ini - Vs/R) * e ^ ((-R/L) * T)
And then I have the given values: Vs=10V, R=1kOHM, L=1mH and I ini = 3mA
Then I substitute everything but the function is so weird (I also should get the I L(0) = 3mAH, but I dont) and I cannot even procede to do the Euler's explicit interation to plot the results, can anyone tell me if my equation is wrong, if it is can someone explain why and how can I fix it in order to work?
Attachments
-
15.2 KB Views: 5