summaryrefslogtreecommitdiff
path: root/74/CH10/EX10.14/example14_sce.sce
blob: dcb0c8f58490d00c44ba69f8d56c3c0eb3056bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter 10
//example 10.14
//page 376
Rl=10;Iq=4.3*10^-3;
Vr=5;Il=.5;
// Il=Vr/R+Iq
R=Vr/(Il-Iq);
disp(R)
power=(Il^2)*R;//wattage of reisstor
disp(power)
Vout=Vr+Il*R;//output voltage with respect to ground
disp(Vout)
Vd=2;//minimum voltage drop across IC 7805 which is called as drop out voltage is 2V
Vin=Vout+Vd;
disp(Vin)