diff options
Diffstat (limited to '3507/CH20/EX20.9/Ex20_9.sce')
-rw-r--r-- | 3507/CH20/EX20.9/Ex20_9.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3507/CH20/EX20.9/Ex20_9.sce b/3507/CH20/EX20.9/Ex20_9.sce new file mode 100644 index 000000000..309661ca2 --- /dev/null +++ b/3507/CH20/EX20.9/Ex20_9.sce @@ -0,0 +1,21 @@ +//chapter20
+//example20.9
+//page443
+
+Vz=12 // V
+Vbe=0.7 // V
+Vin=20 // V
+Rs=220 // ohm
+Rl=1d3 // ohm
+gain=50
+
+Vout=Vz-Vbe
+V_Rs=Vin-Vz
+I_Rs=V_Rs/Rs
+Il=Vout/Rl
+Ic=Il
+Ib=Ic/gain
+Iz=I_Rs-Ib
+
+printf("output voltage = %.3f V \n",Vout)
+printf("zener current = %.3f mA \n",Iz*1000)
|