summaryrefslogtreecommitdiff
path: root/2063/CH7/EX7.14/7_14.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2063/CH7/EX7.14/7_14.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 '2063/CH7/EX7.14/7_14.sce')
-rwxr-xr-x2063/CH7/EX7.14/7_14.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2063/CH7/EX7.14/7_14.sce b/2063/CH7/EX7.14/7_14.sce
new file mode 100755
index 000000000..8bbbc9ff8
--- /dev/null
+++ b/2063/CH7/EX7.14/7_14.sce
@@ -0,0 +1,20 @@
+clc
+clear
+//Input data
+r=14;//The compression ratio of a diesel engine
+Vc=1;//Clearance volume in m^3
+c=0.08;//Fuel supply cut off point
+nr=0.55;//Relative efficiency
+H=10000;//Calorific value of fuel in kcal/kg
+r1=1.4;//Ratio of specific heat of air
+Vs=13;//Stroke volume in m^3
+
+//Calculations
+rho=Vc+(c*Vs);//Cut off ratio
+na=1-(1*(rho^r1-1)/((r^(r1-1)*r1)*(rho-1)));//Air standard efficiency of diesel cycle in percent
+In=(na*nr);//Indicated thermal efficiency in percent
+H1=(4500*60)/(In*427);//Heat in fuel supplied/1HP hr
+W=H1/10^4;//Weight of fuel required/1HP hr
+
+//Output
+printf('The weight of fuel required per 1HP hr is %3.4f kg',W)