summaryrefslogtreecommitdiff
path: root/2444/CH7/EX7.8/ex7_8.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2444/CH7/EX7.8/ex7_8.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2444/CH7/EX7.8/ex7_8.sce')
-rwxr-xr-x2444/CH7/EX7.8/ex7_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2444/CH7/EX7.8/ex7_8.sce b/2444/CH7/EX7.8/ex7_8.sce
new file mode 100755
index 000000000..a567090ab
--- /dev/null
+++ b/2444/CH7/EX7.8/ex7_8.sce
@@ -0,0 +1,19 @@
+// Exa 7.8
+clc;
+clear;
+close;
+format('v',5)
+// Given data
+Rs = 5;// in k ohm
+Rs =Rs * 10^3;// in ohm
+Ls = 0.8;// in H
+Cs = 0.08;// in pF
+Cs = Cs * 10^-12;// in pF
+C_P = 1;// in pF
+C_P = C_P * 10^-12;// in F
+f_s = 1/(2*%pi*(sqrt( Ls*Cs )));// in Hz
+f_s = f_s * 10^-3;// in kHz
+disp(f_s,"The series resonant frequency in kHz is");
+f_p = (1/(2*%pi)) * (sqrt( (1+(Cs/C_P))/(Ls*Cs) ));// in Hz
+f_p = f_p * 10^-3;// in kHz
+disp(f_p,"The parallel resonant frequency in kHz is");