summaryrefslogtreecommitdiff
path: root/1808/CH1/EX1.4/Chapter1_Example4.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH1/EX1.4/Chapter1_Example4.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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.4/Chapter1_Example4.sce')
-rw-r--r--1808/CH1/EX1.4/Chapter1_Example4.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1808/CH1/EX1.4/Chapter1_Example4.sce b/1808/CH1/EX1.4/Chapter1_Example4.sce
new file mode 100644
index 000000000..99132bb8e
--- /dev/null
+++ b/1808/CH1/EX1.4/Chapter1_Example4.sce
@@ -0,0 +1,22 @@
+clc
+clear
+//INPUT DATA
+BP=17;//Brake power in kW
+mf=6;//Mass flow rate in kg/h
+cv=44200;//calorific value in kJ/kg
+L=0.1;//Stroke in m
+d=0.06;//bore in m
+Rc=8;//copression ratio
+n=2;//for four cylinders
+nc=4;//number of cylinders
+N=50;//speed in rps
+
+//CALCULATIONS
+nbt=(BP/((mf/3600)*cv))*100;//Brake thermal efficiency in percentage
+vs=(3.14*d^2*L)/4;//swept volume in m^3
+vc=vs/7;//Clearance volume in m^3
+pmb=((BP*n)/(L*(3.14*d^2/4)*N*nc));//brake ean pressure in kPa
+no=(1-(1/(Rc^(1.4-1))))*100;//Air standard efficiency in percentage
+
+//OUTPUT
+printf('(i)Brake thermal efficiency is %3.2f percentage \n (ii)clearance volume is %3.9f m^3 \n (iii)Brake mean effective pressure is %3.2f kPa \n (iv)air standard efficiency is %3.2f percentage',nbt,vc,pmb,no)