diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2498/CH5/EX5.30 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2498/CH5/EX5.30')
-rwxr-xr-x | 2498/CH5/EX5.30/ex5_30.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/2498/CH5/EX5.30/ex5_30.sce b/2498/CH5/EX5.30/ex5_30.sce new file mode 100755 index 000000000..9c1dce580 --- /dev/null +++ b/2498/CH5/EX5.30/ex5_30.sce @@ -0,0 +1,22 @@ +// Exa 5.30
+clc;
+clear;
+close;
+format('v',6)
+// Given data
+L = 150;// in µH
+L = L * 10^-6;// in H
+// f = 1/(2*%pi*sqrt(L*C)) or C = 1/(4*%pi^2*f^2*L)
+//For f= 500 kHz
+f1 = 500;// in kHz
+f1 = f1 * 10^3;// in Hz
+C1 = 1/(4*%pi^2*f1^2*L);// in F
+//For f= 1500 kHz
+f2 = 1500;// in kHz
+f2 = f2 * 10^3;// in Hz
+C2 = 1/(4*%pi^2*f2^2*L);// in F
+C1= C1*10^12;// in pF
+C2= C2*10^12;// in pF
+disp("The required capacitor range is : "+string(C2)+" pF to "+string(C1)+" pF")
+
+// Note: The answer in the book is wrong.
|