Question: Write a program in matlab: The current i (in amps), t (seconds) after closing the switch in the circuit below i(t) is i(t) = (1-e-(R/L)t)

Write a program in matlab: The current i (in amps), t (seconds) after closing the switch in the circuit below

Write a program in matlab: The current i (in amps), t (seconds)

i(t) is i(t) = (1-e-(R/L)t) Consider the case where V-120V, R = 120, and L = 0.1Henry. (a) Find the time tm required for the current to reach 99% of its final value, then use linspace to create a vector t having 10 elements with the first element 0 and maximum value tm. linspace(x1,x2,10) returns a row vector of 10 evenly spaced points between zl and r2. (b) Calculate the current i for each value of t from part (a) Solution: (a) tm-0.0038s and (b) i = [0, 0.4005, 0.6406, 0.7846, 0.8708, 0.9226, 0.9536, 0.9722, 0.9833, 0.9900| A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!