summaryrefslogtreecommitdiff
path: root/2528/CH4/EX4.9/Ex4_9.sce
blob: b3914ff46a79e5a21376efa0d39db606f51c08d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
clear;
close;
//pagec no 107
//Figure 4.13
Ri=20*10^3;     //In Ohm
Vin=0.4;        //In Volt
Rl=1*103;//In ohm
gm=1/Ri;        //unit-micro*Siemens
Iload=gm*Vin;
disp("A",Iload,"Load current is");
//maximum current is 20microAmp in Op Amp
Vout=(Ri+Rl)*Iload;
disp("V",Vout,"V max ");