From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2825/CH12/EX12.4/Ex12_4.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2825/CH12/EX12.4/Ex12_4.sce (limited to '2825/CH12/EX12.4/Ex12_4.sce') 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) -- cgit