summaryrefslogtreecommitdiff
path: root/3685/CH20/EX20.9/Ex20_9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3685/CH20/EX20.9/Ex20_9.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 '3685/CH20/EX20.9/Ex20_9.sce')
-rw-r--r--3685/CH20/EX20.9/Ex20_9.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/3685/CH20/EX20.9/Ex20_9.sce b/3685/CH20/EX20.9/Ex20_9.sce
new file mode 100644
index 000000000..9e4062fc7
--- /dev/null
+++ b/3685/CH20/EX20.9/Ex20_9.sce
@@ -0,0 +1,26 @@
+clc
+// Given that
+Bp = 28.35 // Brake power in kW
+N = 1500 // Speed in rpm
+x = 20 // Rich percent of mixture
+t = 15.5 // Temperature in degree centrigrde
+p = 760 // Pressure in mm of mercury
+f = 0.7 // Fraction of volume of air in th cylinder relative to swept volume
+R = 14.8 // Theoratical Air fuel ratio
+d = 82 // Diameter of cylinder in mm
+L = 130 // Stroke of cylinder in mm
+cv = 44 // Heating value of petrol in MJ/kg
+n_m = 0.9 // Mechanical efficiency of the engine
+printf("\n Example 20.9\n")
+Ip = Bp/n_m
+p_ = 101.325 // In kN/m^2 as p = 760 mm mercury
+v_a = f*(%pi/4)*((d*(10^-3))^2)*(L*(10^-3))*(N/2)*4
+m = p_*(v_a)/(0.287*(t+273))
+m_f = (m/R)*(1+x/100)
+n_th = Ip*3600/(m_f*cv*1000*60)
+bmep = Bp*60/((%pi/4)*((d*(10^-3))^2)*(L*10^-3)*(N/2)*4)
+printf("\n Indicated thermal efficiency = %f percent,\n Brake mean effective preassure = %f kN/m^2",n_th*100,bmep)
+//The value of answer is different because of round off error
+
+
+