summaryrefslogtreecommitdiff
path: root/2096/CH2/EX2.34/ex_2_34.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2096/CH2/EX2.34/ex_2_34.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 '2096/CH2/EX2.34/ex_2_34.sce')
-rwxr-xr-x2096/CH2/EX2.34/ex_2_34.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2096/CH2/EX2.34/ex_2_34.sce b/2096/CH2/EX2.34/ex_2_34.sce
new file mode 100755
index 000000000..d771924bc
--- /dev/null
+++ b/2096/CH2/EX2.34/ex_2_34.sce
@@ -0,0 +1,15 @@
+//Example 2.31 //inductance and resistance
+clc;
+clear;
+close;
+//given data :
+fo=1.2*10^6; // in Hz
+C=160*10^-12; // in farad
+f=6*10^3; // resonant frequency in Hz
+f1=fo+f;
+f2=fo-f;
+F=f1-f2;
+Q=fo/F;
+R=F/((2*%pi*(fo)^2*C));
+disp(Q,"Q factor,Q = ")
+disp(R,"resistance,R(ohm) = ")