summaryrefslogtreecommitdiff
path: root/3754/CH36/EX36.3/36_3.sce
blob: 360ae8e12178452b079dd24c2365bc8cb0d016b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear//

//Variables

R1 = 10.0 * 10**3                     //Resistance (in ohm)
C1 = 0.01 * 10**-6                    //Capacitor (in Farad)

//Calculation

f2 = 1.0/(2*%pi*R1*C1)            //Frequency (in Hertz)
fmax = f2 / 10.0                      //Maximum linear operating freqeuncy (in Hertz)

//Result

printf("\n Cut-off frequency is  %0.1f  Hz.",f2)
printf("\n Maximum linear operating frequency is  %0.0f  Hz.",fmax)