summaryrefslogtreecommitdiff
path: root/1964/CH14/EX14.4/ex14_4.sce
blob: b2eca1b509239535e061fa19d494c007e4836096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter-14, Example 14.4, Page 458
//=============================================================================
clc
clear
//INPUT DATA
A=10;//gain of inverting amplifier
f=40*10^3;//frequency in hz
SR=0.5;//slewrate in V/us----->SR=(2*%pi*f*Vm)/(10^6)
//CALCULATIONS
Vm=(SR*10^6)/(2*%pi*f);//maximum output voltage in V peak
Vm=2*Vm;//maximum output voltage in V peak to peak
Vid=Vm/A;//maximum peak-to-peak input voltage for undistorted output 
mprintf("Thus maximum peak-to-peak input voltage for undistorted output is %1.3f V peak-to-peak",Vid);
//=================================END OF PROGRAM=======================================================================================================