summaryrefslogtreecommitdiff
path: root/2621/CH7/EX7.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2621/CH7/EX7.8
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 '2621/CH7/EX7.8')
-rw-r--r--2621/CH7/EX7.8/Ex7_8.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/2621/CH7/EX7.8/Ex7_8.sce b/2621/CH7/EX7.8/Ex7_8.sce
new file mode 100644
index 000000000..6bb35bd41
--- /dev/null
+++ b/2621/CH7/EX7.8/Ex7_8.sce
@@ -0,0 +1,23 @@
+// Example 7.8
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+R1= 2*10^3;// in Ω
+R2= 2/3*10^3;// in Ω
+R3= 200*10^3;// in Ω
+C= 0.1*10^-6;// in F
+Af= R3/(2*R1);// gain
+disp(Af,"The value of Af is : ")
+// R1= Q/(2*%pi*f_C*C*Af) (i)
+// R2= Q/(2*%pi*f_C*C*(2*Q^2-Af)) (ii)
+// R3= Q/(%pi*f_C*C) (iii)
+Q= sqrt((R3/(2*R2)+Af)/2);// from (ii) and (iii)
+disp(Q,"The value of Q is : ");
+f_C= Q/(R3*%pi*C);// in Hz (from (iii))
+disp(f_C,"The value of f_C in Hz is : ");
+omega_0= 2*%pi*f_C;// in radians/second
+disp(omega_0,"The value of omega_0 in radians/seconds is : ")
+
+