summaryrefslogtreecommitdiff
path: root/752/CH6/EX6.3.2/6_3_2.sce
blob: 4a42d5316008a14b655a926b963e66d488c5ffb7 (plain)
1
2
3
4
5
6
7
8
9
10
clc;
// page no 200
// prob no 6.3.2
// RC phase shift oscillator
// all resistors are in Kohm
f=800;R0=18;
// R>>Ro should be chosen to minimize the effect of Ro on frequency. A number of values for R can be tried, and it will be found that R=100Kohm is reasonable.
R=100;
c=1/(2*%pi*f*R*sqrt(6+(4*R0/R)))*10^9;// C in pF
disp('pF',c,+'The value of capacitor is ');