blob: 456a2dfd08bd07b45e6dca64db3f3ea4c521214a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
clear
//
//thevenin's theorem
//all the values are derived from the figures
z1=complex(8,-6)
z2=complex(0,5)
zth=(z1*z2)/(z1+z2)
printf("\n zth")
vth=complex(-17.71,141.54)
zload=complex(4,3)
I=vth/(zth+zload)
printf("\n I")
|