blob: 1276301aa21381fd44ffef8e7bc322320e99a9b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
R1=20.0*10**3;R2=20.0*10**3;R=20.0*10**3;
C1=100.0*10**-12;C2=100.0*10**-12;C=100.0*10**-12;
//Calculation
f = 1/(1.38 * R * C) //Frequency (in Hertz)
//Result
printf("\n Frequency of oscillation is %0.0f kHz.",f * 10**-3)
|