blob: 20a73006a0ce05dcc49cd591a49f1c2a06238351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//chapter-11,Example11_5,pg 506
f=1*10^3//frequency
C=0.01*10^-6//capacitance
//f=(1/(2*%pi))*(1/(6^(1/2)*RC))
R=(1/(2*%pi*(6^(1/2)*C*f)))//resistance of circuit
printf("resistance of circuit\n")
printf("R=%.2f ohm",R)
|