1 2 3 4 5
//EXAMPLE 5-11 PG NO-303 X=8+%i*8; //X=I1/V1; X1=0+%i*30/25+%i*80; //X1=Va/V1; V1=[20*(25+%i*80)]/(0+%i*30); disp(' VOLTAGE is in polar form = '+string(V1)+'V');