blob: bb5c3e7bfdff22652f97e90005177e78599ebd28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//chapter9
//example9.27
//page174
R=200 // ohm
Rl=2000 // ohm
Eo=30 // V
// for minimum input voltage i.e. Iz=0
Il=Eo/Rl
I=Il // since Iz=0
Vin_min=Eo+I*R
// for maximum input voltage i.e. Iz=25 mA
Iz=25d-3 // A
Il_dash=Eo/Rl
I_dash=Il_dash+Iz
Vin_max=Eo+I_dash*R
printf("minimum input voltage = %.3f V \n",Vin_min)
printf("maximum input voltage = %.3f V \n",Vin_max)
printf("thus range of input = %.3f to %.3f V \n",Vin_min,Vin_max)
|