summaryrefslogtreecommitdiff
path: root/3754/CH35/EX35.3/35_3.sce
blob: 722993f4cd4e54b9509f8f292c86af4ae6cd8161 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

Slew_rate = 0.5 * 10**6                  //Slew rate (in volt per second)
Vpk = 100.0 * 10**-3                     //Peak-to-peak voltage (in volts)

//Calculation

fmax = Slew_rate / (2 * %pi * Vpk)   //Maximum operating frequency (in Hertz)

//Result

printf("\n The maximum operating frequency for the amplifier is  %0.0f  kHz.",fmax * 10**-3)