summaryrefslogtreecommitdiff
path: root/1430/CH11/EX11.6/exa11_6.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.6/exa11_6.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.6/exa11_6.sce')
-rw-r--r--1430/CH11/EX11.6/exa11_6.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1430/CH11/EX11.6/exa11_6.sce b/1430/CH11/EX11.6/exa11_6.sce
new file mode 100644
index 000000000..276d86b99
--- /dev/null
+++ b/1430/CH11/EX11.6/exa11_6.sce
@@ -0,0 +1,17 @@
+// Example 11.6
+// Design of a Bandpass filter
+L=1*10^-3;
+R_w=1.2;
+B=2*%pi*2*250; // Bandwidth
+omega_0=2*%pi*20*10^3;
+Q=omega_0/B; // quality factor
+f_l=20000-250;
+f_u=20000+250;
+f_0=sqrt(f_l*f_u);
+Q_par=Q;
+C=1/(omega_0^2*L); // Required value of Capacitor
+R_par=L/(C*R_w); // Parallel equivalent of winding resistance
+R_eq=Q*omega_0*L;
+R=(R_eq*R_par)/(R_par-R_eq);
+disp(C,"Required value of C (Farad)=")
+disp(R,"Required value of R(Ohms)=")