summaryrefslogtreecommitdiff
path: root/1280/CH6/EX6.3/6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1280/CH6/EX6.3/6_3.sce')
-rwxr-xr-x1280/CH6/EX6.3/6_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1280/CH6/EX6.3/6_3.sce b/1280/CH6/EX6.3/6_3.sce
new file mode 100755
index 000000000..c37dfd45e
--- /dev/null
+++ b/1280/CH6/EX6.3/6_3.sce
@@ -0,0 +1,12 @@
+clc
+//initialisation of variables
+eo= 87 //percent
+ev= 94 //percent
+p= 10 //bhpi
+//CALCULATIONS
+em= eo/ev
+em1= em*100
+Fhp= p*(1-em)
+//RESULTS
+printf ('frictional horsepower = %.1f hp',Fhp+0.1)
+printf (' \n mechanical efficiency = %.2f percent',em1)