summaryrefslogtreecommitdiff
path: root/2621/CH7/EX7.10/Ex7_10.sce
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.10/Ex7_10.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 '2621/CH7/EX7.10/Ex7_10.sce')
-rw-r--r--2621/CH7/EX7.10/Ex7_10.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2621/CH7/EX7.10/Ex7_10.sce b/2621/CH7/EX7.10/Ex7_10.sce
new file mode 100644
index 000000000..a37c5bd64
--- /dev/null
+++ b/2621/CH7/EX7.10/Ex7_10.sce
@@ -0,0 +1,27 @@
+// Example 7.10
+clc;
+clear;
+close;
+// Given data
+format('v',6);
+f_L= 2*10^3;// in Hz
+f_H= 2.5*10^3;// in Hz
+Af= -5;
+f_C= sqrt(f_L*f_H);// centre frequency in Hz
+del_f= f_H-f_L;//bandwidth in Hz
+Q= f_C/del_f;// selectivity
+// Assume C1= C2= C= 0.01µF
+C= 0.01*10^-6;// in F
+R3= 1/(%pi*del_f*C);// in Ω
+R3= R3*10^-3;// in kΩ
+disp("The value of R3 is : "+string(R3)+" kΩ (standard value 64 kΩ)");
+R3= 64;// in kΩ
+R3= R3*10^3;// in Ω
+R1= -R3/(2*Af);//in Ω
+R2= R1/(4*%pi^2*f_C^2*R1*R3*C^2-.1)
+R1= R1*10^-3;// in kΩ
+C=C*10^6;// in µF
+disp("The value of R1 is : "+string(R1)+" kΩ ");
+disp("The value of R2 is : "+string(R2)+" kΩ (standard value 800Ω)");
+disp("The value of C is : "+string(C)+" µF ");
+