diff options
Diffstat (limited to '2459/CH18/EX18.1/Ex18_1.sce')
-rw-r--r-- | 2459/CH18/EX18.1/Ex18_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/2459/CH18/EX18.1/Ex18_1.sce b/2459/CH18/EX18.1/Ex18_1.sce new file mode 100644 index 000000000..b3c144cf2 --- /dev/null +++ b/2459/CH18/EX18.1/Ex18_1.sce @@ -0,0 +1,14 @@ +//chapter18 +//example18.1 +//page396 +L=1.25d-3 // H +C=250d-12 // F +R=10 // ohm + +fr=(((1/(L*C))-(R^2/L^2))^0.5)/(2*%pi) +Zr=L/(C*R) +Q=2*%pi*fr*L/R + +printf("resonant frequency of circuit = %.3f Hz or %.3f kHz \n",fr,fr/1000) +printf("impedence of circuit at resonance = %.3f ohm or %.3f kilo ohm \n",Zr,Zr/1000) +printf("quality factor of the circuit = %.3f",Q) |