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

//Variables

ACL = 200.0                  //Closed loop voltage gain
Vout = 8.0                   //Output voltage (in volts)

//Calculation

Vin = - Vout / ACL           //Input a.c. voltage (in volts)

//Result

printf("\n Maximum allowable input voltage (Vin) is  %0.3f  mV." ,abs(Vin * 10**3))