summaryrefslogtreecommitdiff
path: root/1280/CH8/EX8.12/8_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1280/CH8/EX8.12/8_12.sce')
-rwxr-xr-x1280/CH8/EX8.12/8_12.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/1280/CH8/EX8.12/8_12.sce b/1280/CH8/EX8.12/8_12.sce
new file mode 100755
index 000000000..d510d2fea
--- /dev/null
+++ b/1280/CH8/EX8.12/8_12.sce
@@ -0,0 +1,8 @@
+clc
+//initialisation of variables
+eo= 88 //perecent
+ev= 97 //percent
+//CALCULATIONS
+em= eo*100/ev
+//RESULTS
+printf ('mechanical efficency = %.2f percent',em)