Circuit Theory/Phasors/Examples/Example 10/mfilex

From Wikibooks, open books for an open world
Jump to: navigation, search
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);