Circuit Theory/Phasors/Examples/Example 9/mfile8b

a = 12000*2^.5/377;
b = 2*pi/3;
c = 12*2^.5;
d = c*cos(b) + i*c*sin(b) + a*sin(b) - i*a*cos(b);
abs(d)
angle(d)
constant = abs(d)*cos(angle(d))