diff options
Diffstat (limited to '2825/CH12/EX12.4')
-rwxr-xr-x | 2825/CH12/EX12.4/Ex12_4.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2825/CH12/EX12.4/Ex12_4.sce b/2825/CH12/EX12.4/Ex12_4.sce new file mode 100755 index 000000000..708ac32d3 --- /dev/null +++ b/2825/CH12/EX12.4/Ex12_4.sce @@ -0,0 +1,19 @@ +//Ex12_4 Pg-602
+clc
+
+L=3 //inductance in henry
+Cs=0.05*10^(-12) //capacitance in farad
+Cm=10*10^(-12) //capacitance in farad
+R=2*10^(3) //resistor R in ohm
+
+disp("Series resonant frequency, fs = 1/2*pi*sqrt(LC)")
+fs=1/(2*%pi*sqrt(L*Cs))
+printf(" = %.0f KHz \n",fs*1e-3)
+
+disp("The equialent parallel capacitance, Cp = Cm*Cs/Cm+Cs")
+Cp=Cm*Cs/(Cm+Cs) //quality factor
+printf(" = %.4f pF \n",Cp*1e12)
+
+disp("Parallel resonant frequency, fp = 1/2*pi*sqrt(L*Cp)")
+fp=1/(2*%pi*sqrt(L*Cp))
+printf(" = %.0f kHz \n",fp*1e-3)
|