i=2.6; r=300; x_l=400; z=sqrt(r^2+x_l^2); p=i^2*z; disp("the apparent power drawn (in kVA) by the circuit is"); disp(p*10^(-3));