summaryrefslogtreecommitdiff
path: root/2459/CH20/EX20.6/Ex20_6.sce
blob: 9d8b36c89e14aab45dc9ee00b7f7d184eeb2a7b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter20
//example20.6
//page441

Vin_min=22 // V
Vout=15 // V
Il_max=0.1 // A

// for maximum series resistance, we consider the case when input voltage is minimum and load current is maximum because then zener current drops to minimum.Thus,
Rs_max=(Vin_min-Vout)/Il_max

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