summaryrefslogtreecommitdiff
path: root/3754/CH20/EX20.3/20_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH20/EX20.3/20_3.sce')
-rw-r--r--3754/CH20/EX20.3/20_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3754/CH20/EX20.3/20_3.sce b/3754/CH20/EX20.3/20_3.sce
new file mode 100644
index 000000000..9b78a88aa
--- /dev/null
+++ b/3754/CH20/EX20.3/20_3.sce
@@ -0,0 +1,15 @@
+clear//
+
+//Variables
+
+dIL = 40.0 //Change in current (in milli-Ampere)
+VNL = 8.0 //Voltage under no load (in volts)
+VFL = 7.995 //Voltage under full load (in volts)
+
+//Calculation
+
+LR = (VNL - VFL)/ dIL //Line regulation (in milli-volt per milli-Ampere)
+
+//Result
+
+printf("\n Line regulation is %0.3f mV/mA.",LR * 10**3)