summaryrefslogtreecommitdiff
path: root/3554/CH15/EX15.8/Ex15_8.sce
blob: b7e84a363eb7fab613fde5dc6e95b85cfd479ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Exa 15.8

clc;
clear all;

// Given data
// Active notch filter
 
Fn=50; //Notch out frequency(Hz)

// Solution

disp(" Let C=0.047 micro farads");
C=0.047; // micro farads
R=1/(2*%pi*Fn*C*10^-6);

printf('  The value of R is calculated as %d k Ohms \n',round(R/1000));
disp("For R/2, two 68 k Ohms resistors connected in parallel are used and for the 2C components, two 0.047 micro farad capacitors connected in parallel are used.");