blob: ca622f478c2de09c798e4950c202b5b5571253ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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")
|