summaryrefslogtreecommitdiff
path: root/74/CH10/EX10.10/example10_sce.sce
blob: 1aa018e1c7946bf02680c3dea4a2620db6e7821a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter 10
//example 10.10
//page 357
Vref=-1.25;
Iadj=50*10^-6;
R1=240;
R2min=0;//to find minimum output voltage correspond to R2min=0
Voutmin=Vref*(1+(R2min/R1))+Iadj*R2min;
disp(Voutmin)
R2max=5*10^3;//for maximum output voltage 
Voutmax=Vref*(1+(R2max/R1))+Iadj*R2max;
disp(Voutmax)//volts