summaryrefslogtreecommitdiff
path: root/1529/CH21/EX21.15/21_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1529/CH21/EX21.15/21_15.sce')
-rwxr-xr-x1529/CH21/EX21.15/21_15.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/1529/CH21/EX21.15/21_15.sce b/1529/CH21/EX21.15/21_15.sce
new file mode 100755
index 000000000..6b1bcd11b
--- /dev/null
+++ b/1529/CH21/EX21.15/21_15.sce
@@ -0,0 +1,7 @@
+//Chapter 21, Problem 15
+clc;
+e1=200; //primary voltage
+e2=400; //secondary voltage
+v2=387.6; //secondary terminal voltage
+reg=((e2-v2)/e2)*100; //regulation
+printf("Regulation = %.1f percent",reg);