summaryrefslogtreecommitdiff
path: root/2459/CH9/EX9.26/Ex9_26.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH9/EX9.26/Ex9_26.sce')
-rw-r--r--2459/CH9/EX9.26/Ex9_26.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2459/CH9/EX9.26/Ex9_26.sce b/2459/CH9/EX9.26/Ex9_26.sce
new file mode 100644
index 000000000..2c56fe3c9
--- /dev/null
+++ b/2459/CH9/EX9.26/Ex9_26.sce
@@ -0,0 +1,17 @@
+//chapter9
+//example9.26
+//page173
+
+Ei=45 // V
+Vz1=10 // V
+Vz2=10 // V
+Vz3=10 // V
+Iz=1000d-3 // current rating for each zener in ampere
+
+Eo=Vz1+Vz2+Vz3
+
+R=(Ei-Eo)/Iz
+
+printf("required series resistance = %.3f ohm \n",R)
+
+// since zener diode is not available in xcos, simple diodes are used to represent zener diode in the circuit made in xcos