diff options
Diffstat (limited to '3754/CH20/EX20.14/20_14.sce')
-rw-r--r-- | 3754/CH20/EX20.14/20_14.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3754/CH20/EX20.14/20_14.sce b/3754/CH20/EX20.14/20_14.sce new file mode 100644 index 000000000..d74d6ca5b --- /dev/null +++ b/3754/CH20/EX20.14/20_14.sce @@ -0,0 +1,19 @@ +clear//
+
+//Variables
+
+RS = 500.0 //Series resistance (in ohm)
+RL = 1.0 //Load resistance (in kilo-ohm)
+VZ = 10.0 //Zener voltage (in volts)
+IZmin = 5.0 //Minimum Zener current (in milli-Ampere)
+IZmax = 55.0 //Maximum Zener current (in milli-Ampere)
+
+//Calculation
+
+IL = VZ / RL //Load current (in milli-Ampere)
+VSmin = (IL + IZmin) * RS * 10**-3 + VZ //Minimum value of input voltage (in volts)
+VSmax = (IL + IZmax) * RS * 10**-3 + VZ //Maximum value of input voltage (in volts)
+
+//Result
+
+printf("\n The minimum value of voltage level at input is %0.3f V and the maximum is %0.3f V.",VSmin,VSmax)
|