summaryrefslogtreecommitdiff
path: root/3769/CH27/EX27.3/Ex27_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3769/CH27/EX27.3/Ex27_3.sce')
-rw-r--r--3769/CH27/EX27.3/Ex27_3.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3769/CH27/EX27.3/Ex27_3.sce b/3769/CH27/EX27.3/Ex27_3.sce
new file mode 100644
index 000000000..4f9ae4666
--- /dev/null
+++ b/3769/CH27/EX27.3/Ex27_3.sce
@@ -0,0 +1,16 @@
+clear
+//given
+Vl=15 //V
+Rl=2.0*10**3
+Iz=10 //mA
+R1=20.0
+
+//Calculation
+Il=(Vl/Rl)*10**3
+Ir=Iz+Il
+Vr=Ir*10**-2*R1
+V=Vr+Vl
+
+//Result
+printf("\n Voltage is %0.3f V", V)
+printf("\n Zener rating required is %0.3f mA",Ir)