// Example 9.3 // Analysis of a Relay Driver R_eq=10+15; // from figure 9.13(a) L=400*10^-3; tau=L/R_eq; V=5; // DC voltage source I_ss=5/25; // steady state value of current in the circuit t=0:10^-3:30*10^-3; i_L1=I_ss*(1-%e^(-t/tau)); // 0