summaryrefslogtreecommitdiff
path: root/3754/CH27/EX27.5/27_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3754/CH27/EX27.5/27_5.sce')
-rw-r--r--3754/CH27/EX27.5/27_5.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH27/EX27.5/27_5.sce b/3754/CH27/EX27.5/27_5.sce
new file mode 100644
index 000000000..007dc9bde
--- /dev/null
+++ b/3754/CH27/EX27.5/27_5.sce
@@ -0,0 +1,14 @@
+clear//
+
+//Variables
+
+Pcdc = 10.0 //dc power (in watt)
+ne = 0.32 //efficiency
+
+//Calculation
+
+Poac = ne * Pcdc / (1 - ne) //a.c. power output (in watt)
+
+//Result
+
+printf("\n The a.c. power output is %0.1f W.",Poac)