summaryrefslogtreecommitdiff
path: root/275/CH1/EX1.1.75/Ch1_1_75.sce
blob: 81407610e8ab20572aac19418ed85dda7c2e1ded (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
disp("Example 1.75")
printf("\n")
disp("Find the current through diode at 50c & 80c")
T1=50
T2=80
D=3.2*10^-3
Pd1=400*10^-3
Vz=6.2
//at 50c
Izm1=Pd1/Vz
//at 80c
Pd2=Pd1-((T2-T1)*D)
Izm2=Pd2/Vz
printf("the current through diode at 50c & 80c=\n%f ampere\n%f ampere\n",Izm1,Izm2)