summaryrefslogtreecommitdiff
path: root/226/CH2/EX2.9/example9_sce.sce
blob: d7a3adee48e84e0f98ed1da625e5cecd3a841073 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//chapter 2
//example 2.9
//page 48
printf("\n")
printf("given")
P1=700*10^-3;Vf=.7;
//at 25C
If=P1/Vf;
disp("If")
//at 65C
D=5*10^-3;T=65-25;
P2=P1-D*T
If=P2/Vf;
printf( "maximum forward current at 65C is %3.3fA\n",If)