summaryrefslogtreecommitdiff
path: root/3630/CH2/EX2.11/Ex2_11.sce
blob: 95bec3d9b64650223f54ffbe5651d2ff054974f9 (plain)
1
2
3
4
5
6
7
8
clc;
//ex2.11
Pdmax=500; //miliwatt
Vf=0.7; //volt
Io=Pdmax/Vf; //Ampere//using P=V*I
Ifmax=(80/100)*Io; //Ampere//maximum forward current 80% of IO
disp( 'mA',Io,"Io="); //The answers vary due to round off error
disp('mA',Ifmax,"Ifmax="); //The answers vary due to round off error