summaryrefslogtreecommitdiff
path: root/1823/CH9/EX9.2/SolEx9_2.sce
blob: 1f2770420d547e78f10f10ce00646f7ce1ee2aa3 (plain)
1
2
3
4
5
6
7
8
9
10
//derive an exact formula for the gain of a practical inverting op amp.
//Example 9.2 page no 268
clear
clc
Aol=-10^4
Rl=1            //kΩ
Rf=10           //kΩ
Rd=1            //kΩ
Av=(Aol/(1+(Rl/Rf)*(1-Aol)+(Rl/Rd)))
printf("\n The value of Av=%0.3f ",Av)