diff options
Diffstat (limited to '3754/CH20/EX20.5')
-rw-r--r-- | 3754/CH20/EX20.5/20_5.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH20/EX20.5/20_5.sce b/3754/CH20/EX20.5/20_5.sce new file mode 100644 index 000000000..58ed1b3fc --- /dev/null +++ b/3754/CH20/EX20.5/20_5.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+V0 = 10 //Regulated dc supply (in volts)
+LR = 0.00002 //Line regulation
+
+//Calculation
+
+dV = LR * V0 //Change in output voltage (in volts)
+
+//Result
+
+printf("\n Change in output voltage is %0.3f mV.",dV * 10**3)
|