diff options
Diffstat (limited to '1223/CH2/EX2.5')
-rwxr-xr-x | 1223/CH2/EX2.5/Ex2_5.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1223/CH2/EX2.5/Ex2_5.sce b/1223/CH2/EX2.5/Ex2_5.sce new file mode 100755 index 000000000..de67161f5 --- /dev/null +++ b/1223/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,12 @@ +clear;
+clc;
+//Example 2.5
+rZ=4;//(Ohm) Zener resistance
+V_Lnom=9;//(V) nominal output voltage
+Izmax=0.3;//(A) maximum zener diode current
+Izmin=0.03;//(A) minimum zener diode current
+V_Lmax=V_Lnom+Izmax*rZ
+V_Lmin=V_Lnom+Izmin*rZ
+//percent regulation R
+R=((V_Lmax-V_Lmin)/V_Lnom)*100;
+printf('\npercent regulation=%0.1f \n',R)
|