Circuit Theory/Phasors/Examples/Example 8/mfile8a

syms t;
L = .01;
R = 10;
is = 120*2^.5*cos(377*t + 2*pi/3);
vr = is * R;
vl = L * diff(is);
vs = vr + vl;
Vr = vpa(vr,3)
VL = vpa(vl,3)
VS = vpa(vs,3)