summaryrefslogtreecommitdiff
path: root/2534/CH14/EX14.7/Ex14_7.sce
blob: eebd1134ec2219fade9365aada642eaf5447ccae (plain)
1
2
3
4
5
6
7
8
//Ex14_7
clc
Af = -20//closed loop gain of op-amp
R = 10*10^3//output resistance
Rf = -Af*R//feedback resistance
disp("Af = "+string(Af))
disp("R = "+string(R)+"ohm")
disp("Rf = -Af/R = "+string(Rf)+"ohm")