From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3754/CH28/EX28.2/28_2.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 3754/CH28/EX28.2/28_2.sce (limited to '3754/CH28/EX28.2') diff --git a/3754/CH28/EX28.2/28_2.sce b/3754/CH28/EX28.2/28_2.sce new file mode 100644 index 000000000..aaff26c44 --- /dev/null +++ b/3754/CH28/EX28.2/28_2.sce @@ -0,0 +1,16 @@ +clear// + +//Variables + +L = 100.0 * 10**-6 //Inductance (in Henry) +C = 100.0 * 10**-12 //Capacitance (in Farad) +R = 5.0 //Resistance (in ohm) + +//Calculation + +fo = 0.159 / (L * C)**0.5 //Resonant frequency (in Hertz) +Zp = L / (C*R) //Circuit impedance at resonance (in ohm) + +//Result + +printf("\n Resonant frequency is %0.3f MHz.\nCircuit impedance at resonance is %0.3f kilo-ohm.",fo*10**-6,Zp*10**-3) -- cgit