1 2 3 4 5
z1=20+%i*50; z2=15+%i*35; z3=-%i*10; z=z1+z2+z3; disp("total series impedance (in Ω) is"); disp(z);