summaryrefslogtreecommitdiff
path: root/3554/CH15/EX15.11/Ex15_11.sce
blob: e8e877d749a88e476a208fea1ef33334cad36954 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Exa 15.11

clc;
clear all;

// Given data

Fc=4;// kHz
Q=8;

// Solution

disp(" The FLT-U2 can be used as a notch filter by summing the inverted output of the bandpass filter designed with the input signal by means of the uncommitted opamp.");

// From table 15.3 given on page no 538
R2=100;// k Ohms
R3=100/((3.40*Q)-1);
// R1 treated as open circuit
printf(' The R1 is open while R2 and R3 are %.1f , %.2f K ohms respectively \n',R2,R3);

// From equations 15.54 given on page no 538 we get R4 and R5
R4=(5.03)*10^7/(Fc*10^3);
R5=R4;
printf(' The calculated value of R4=R5=%.2f k Ohms(12 k Ohms) \n',R4/1000);
disp(" Let R6=R7=R8=10 K ohms ");
R=10000;//R=R6=R7=R8=10 k Ohms
R9=(1/R+1/R+1/R)^-1;
printf(' The value of R9 =%.2f K ohms \n',R9/1000);
disp(" The complete circuit diagram is shown in fig. 15.26 on page no. 541.");
// The value of R3 vary due to round off error.