summaryrefslogtreecommitdiff
path: root/2528/CH11/EX11.1/Ex11_1.sce
blob: 647a1e2f24428ff4bfbcc202de3fdd34feaf0423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Chapter 11
// Design a low pass Butterworth filter
// Page.No-397
// Example11_1
//Figure 11.13 and 11.14
// Given
clear;clc;
L=1.414;            //Alpha
Ri=1;           //in Ohm
Rf=2-L;
printf("\n The value of Rf is = %.3f Ohm\n",Rf); // Result
Av=1+Rf/Ri;
printf("\n The pass band gain of  = %.3f \n",Av); // Result
fc=1000;            //in Hz
W=2*%pi*fc;
printf("\n The critical frequency is = %.0f radians per seconds\n",W); // Result
R=1/W;
printf("\n The Resistor required is  = %.6f Ohm\n",R); // Result
C1=2/L;
printf("\n The capacitor1 required is  = %.3f F\n",C1); // Result
C2=L/2;
printf("\n The capacitor2 required is  = %.3f F\n",C2); // Result