summaryrefslogtreecommitdiff
path: root/1850/CH7/EX7.1/exa_7_1.sce
blob: 4856eeccea38f15d89abb112a10ec302c248a098 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Exa 7.1
clc;
clear;
close;
//given data
f=200;// in Hz
// Let us take
C=0.1;// in micro F
C=C*10^-6;// in F
R=1/(2*%pi*f*C*sqrt(6));// in ohm
R=R*10^-3;// in k ohm
// R1>=10*R, Let
R1=10*R;// in kohm
R_f= 29*R1;// in k ohm
R_f=R_f*10^-3; // in M ohm
R_f=ceil(R_f);
disp(R_f,"Resistor of phase-shift oscillator in Mohm")