diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH1/EX1.9/Chapter1_Example9.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1808/CH1/EX1.9/Chapter1_Example9.sce')
-rw-r--r-- | 1808/CH1/EX1.9/Chapter1_Example9.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1808/CH1/EX1.9/Chapter1_Example9.sce b/1808/CH1/EX1.9/Chapter1_Example9.sce new file mode 100644 index 000000000..c45f315fe --- /dev/null +++ b/1808/CH1/EX1.9/Chapter1_Example9.sce @@ -0,0 +1,17 @@ +clc
+clear
+//INPUT DATA
+pmi=7;//mean effective pressure in bar
+L=0.45;//stroke in m
+nc=1;//number of cylinders
+N=80;//speed in rpm
+n=1;//for 2 stroke
+nm=80;//Mechanical efficiency in percentage
+
+//CALCULATIONS
+IP=(pmi*100*L*(3.14*(0.3^2)/4)*N*nc)/(60*n);//indicated power in kW
+BP=(nm*IP)/100;//Brake power in kW
+FP=IP-BP;//Frictional power in kW
+
+//OUTPUT
+printf('(i)Indicated power is %3.2f kW \n (ii)brake power is %3.2f kW \n(iii)frictional power is %3.2f kW ',IP,BP,FP)
|