1 2 3 4 5
v=120; v1=40+%i*30; v2=25-%i*90; v3=v-v1-v2; disp("voltage (in V) across the third load is"); disp(v3);