summaryrefslogtreecommitdiff
path: root/2657/CH1/EX1.4/Ex1_4.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2657/CH1/EX1.4/Ex1_4.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2657/CH1/EX1.4/Ex1_4.sce')
-rwxr-xr-x2657/CH1/EX1.4/Ex1_4.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/2657/CH1/EX1.4/Ex1_4.sce b/2657/CH1/EX1.4/Ex1_4.sce
new file mode 100755
index 000000000..f23f858f5
--- /dev/null
+++ b/2657/CH1/EX1.4/Ex1_4.sce
@@ -0,0 +1,26 @@
+//Calculations on four stroke petrol engine
+clc,clear
+//Given:
+bp=35 //Brake power in kW
+eta_m=80 //Mechanical efficiency in percent
+bsfc=0.4 //Brake specific fuel consumption in kg/kWh
+A_F=14/1 //Air-fuel ratio
+CV=43000 //Calorific value in kJ/kg
+//Solution:
+//(a)
+ip=bp*100/eta_m //Indicated power in kW
+//(b)
+fp=ip-bp //Frictional power in kW
+//(c)
+//Since, 1 kWh = 3600 kJ
+eta_bt=1/(bsfc*CV/3600) //Brake thermal efficiency
+//(d)
+eta_it=eta_bt/eta_m*100 //Indicated thermal efficiency
+//(e)
+m_f=bsfc*bp //Fuel consumption in kg/hr
+//(f)
+m_a=A_F*m_f //Air consumption in kg/hr
+//Results:
+printf("\n (a)The indicated power, ip = %.2f kW\n (b)The friction power, fp = %.2f kW",ip,fp)
+printf("\n (c)The brake thermal efficiency, eta_bt = %.1f percent\n (d)The indicated thermal efficiency, eta_it = %.1f percent",eta_bt*100,eta_it*100)
+printf("\n (e)The fuel consumption per hour, m_f = %.1f kg/hr\n (f)The air consumption per hour, m_a = %d kg/hr\n\n",m_f,m_a)