diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2063/CH7/EX7.5/7_5.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2063/CH7/EX7.5/7_5.sce')
-rwxr-xr-x | 2063/CH7/EX7.5/7_5.sce | 15 |
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)
|