summaryrefslogtreecommitdiff
path: root/3507/CH20/EX20.4
diff options
context:
space:
mode:
Diffstat (limited to '3507/CH20/EX20.4')
-rw-r--r--3507/CH20/EX20.4/Ex20_4.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3507/CH20/EX20.4/Ex20_4.sce b/3507/CH20/EX20.4/Ex20_4.sce
new file mode 100644
index 000000000..bd995ee57
--- /dev/null
+++ b/3507/CH20/EX20.4/Ex20_4.sce
@@ -0,0 +1,14 @@
+//chapter20
+//example20.4
+//page438
+
+V_NL=500 // V
+V_FL=300 // V
+I_FL=120 // mA
+
+regulation=((V_NL-V_FL)/V_FL)*100
+
+Rl_min=V_FL/I_FL
+
+printf("voltage regulation = %.3f percent \n",regulation)
+printf("minimum load resistance = %.3f kilo ohm \n",Rl_min)