summaryrefslogtreecommitdiff
path: root/2582/CH5/EX5.7/Ex5_7.sce
blob: cb6ec350ea02e9e07d7d606ee0ca4ed8f0b1348e (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex 5.7
clc;clear;close;
format('v',6);
R1=10;//kohm
R2=16;//kohm
C=10;//nF
R=62;//kohm
Beta=R1/(R1+R2);//unitless
T=2*R*1000*C*10^-9*log((1+Beta)/(1-Beta));//seconds
f=1/T;//Hz
disp(f,"Frequency of oscillations(Hz) : ");