summaryrefslogtreecommitdiff
path: root/671/CH4/EX4.30/4_30.sce
blob: 41d8707d435c053e69b7fa17a87b6a23201e23b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
R=2000
C=5E-6
w=1000

Xc=1/(w*C*%i)
Y=1/R+1/Xc
Z=1/Y
Req=real(Z)
Ceq=-1/(imag(Z)*w)

disp(Ceq*1E6,Req)   //////Answer wrong in the book