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

Ei=22 // V     
Vz=18 // V
Rl=18 // ohm
Eo=Vz
Iz_min=200d-3 // A

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

// load current is
Il_max=Vz/Rl

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

printf("required series resistance = %.3f ohm \n",R)

// on inserting this series resistance the output voltage will remain constant at 18 V