blob: 311980c4e328a806dbc89f96f27cf16a912b95de (
plain)
1
2
3
4
5
6
|
vr=30;
vl=40;
v=sqrt((vr^2)+(vl^2));
theta=atan(vl/vr);
disp("the polar form of the total voltage has a magnitude (in V) of") ; disp(v);
disp("with a phase angle (in degrees) of"); disp(theta*180/%pi);
|