summaryrefslogtreecommitdiff
path: root/2063/CH7/EX7.5/7_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2063/CH7/EX7.5/7_5.sce')
-rwxr-xr-x2063/CH7/EX7.5/7_5.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2063/CH7/EX7.5/7_5.sce b/2063/CH7/EX7.5/7_5.sce
new file mode 100755
index 000000000..76ac233b1
--- /dev/null
+++ b/2063/CH7/EX7.5/7_5.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+W=30;//The net dynamometer load in kg
+R=0.5;//Radius in m
+N=2400;//Speed in rpm
+FHP=6.5;//Engine power in hp
+
+//Calculations
+BHP=(2*3.14*R*N*W)/4500;//Brake horse power in kW
+IHP=BHP+FHP;//Indicated horse power in kW
+nm=(BHP/IHP)*100;//Mechanical efficiency in percentage
+
+//Output
+printf('Mechanical efficiency of the engine is %3.2f percent',nm)