summaryrefslogtreecommitdiff
path: root/3754/CH20/EX20.1/20_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH20/EX20.1/20_1.sce')
-rw-r--r--3754/CH20/EX20.1/20_1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH20/EX20.1/20_1.sce b/3754/CH20/EX20.1/20_1.sce
new file mode 100644
index 000000000..65b6a034f
--- /dev/null
+++ b/3754/CH20/EX20.1/20_1.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+dVL = 100.0 * 10**-6 //Change in output voltage (in volts)
+dVin = 5.0 //Change in input voltage (in volts)
+
+//Calculation
+
+LR = dVL / dVin //Line regulation (in volt per volt)
+
+//Result
+
+printf("\n The value of line regulation is %0.3f micro-volt/volt.",LR * 10**6)