summaryrefslogtreecommitdiff
path: root/1430/CH11/EX11.7/exa11_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH11/EX11.7/exa11_7.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1430/CH11/EX11.7/exa11_7.sce')
-rw-r--r--1430/CH11/EX11.7/exa11_7.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1430/CH11/EX11.7/exa11_7.sce b/1430/CH11/EX11.7/exa11_7.sce
new file mode 100644
index 000000000..3d2451d84
--- /dev/null
+++ b/1430/CH11/EX11.7/exa11_7.sce
@@ -0,0 +1,20 @@
+// Example 11.7
+// Design of an Active Filter
+f_l=200;
+f_u=4000;
+// f_l=1/(2*%pi*R1*C1) and f_u=1/(2*%pi*R_F*C_F)
+// which limits the value of capacitance to
+// 5nF<C_1<500nF and 0.25nF<C_F<25nF
+// R_F= 1/(omega_u*C_F) and R_1=1/(omega_l*C_1)
+// K=C_1/(20*C_F)
+// thus i can increase the midband gain by taking large value for C_1 and small value for C_F
+// thus we choose standard values for capacitors
+C_1= 100*10^-9;
+C_F=1*10^-9;
+R_1=1/(2*%pi*f_l*C_1);
+R_F=1/(2*%pi*f_u*C_F);
+//Which gives
+K=R_F/R_1;
+disp("Required value for resistors are(in Ohms)")
+disp(R_1,"R_1=")
+disp(R_F,"R_F=")