summaryrefslogtreecommitdiff
path: root/2459/CH9/EX9.28/Ex9_28.sce
blob: c47a0026c229c4eb7835541312773746800db2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//chapter9
//example9.28
//page174

Ei=16 // V     
Vz=12 // V    since we want to ragulate at 12 V
Eo=Vz
Iz_min=0 // A
Il_max=200d-3 // A

// Zener current will be min when input voltage is min

// we see that R=(Ei-Eo)/(Iz-Il) and minimum Iz occurs when Il is maximum so
R=(Ei-Eo)/(Iz_min+Il_max)

Izm=Il_max
Pzm=Vz*Izm

printf("Zener voltage = %.3f V \n",Vz)
printf("required series resistance = %.3f ohm \n",R)
printf("maximum power rating of zener diode = %.3f W \n",Pzm)