Circuit Theory/Phasors/Examples/Example 10/mfiles

R = 10; L = .01; w = 377; syms t s f = 120*2^.5 * cos(377*t+2*pi/3); LaplaceOfIs = laplace(f) h = (LaplaceOfIs*L*s*R)/(R+L*s) k = ilaplace(h); iLaplaceOf_Is=vpa(k,3) vpa(k,10);