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

Vz=10 // V
Vbe=0.5 // V
Rl=1000 // ohm

Vout=Vz-Vbe
Il=Vout/Rl

printf("load voltage = %.3f V \n",Vout)
printf("load current = %.3f mA \n",Il*1000)