clear // //superposition theorem r=4 //z=4+(8+6j)*(0-j10)/8+j6+0-j10 //z=14-j5 z=14.87 l=40 //I1a=z/l=2.69 in polar form I1a=complex(2.533,0.904) I2a=complex(-0.324,-2.67) //from fig c z=complex(2.93,-9.47) I1b=complex(-0.895,3.935) I2b=complex(1.056,-2.474) I1=I1a+I1b printf("\n I1") I2=I2a+I2b printf("\n I2") I=I1+I2 printf("\n I")