summaryrefslogtreecommitdiff
path: root/2168/CH3/EX3.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2168/CH3/EX3.3
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 '2168/CH3/EX3.3')
-rwxr-xr-x2168/CH3/EX3.3/Chapter3_example3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2168/CH3/EX3.3/Chapter3_example3.sce b/2168/CH3/EX3.3/Chapter3_example3.sce
new file mode 100755
index 000000000..b3f045aba
--- /dev/null
+++ b/2168/CH3/EX3.3/Chapter3_example3.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+r=6//Compression ratio
+It=0.6//Indicated thermal efficiency ratio
+CV=10000//Calorific value in kcal/kg
+g=1.4//Ratio of specific heats
+
+//Calculations
+an=(1-(1/r)^(g-1))*100//Air standard efficiency in percent
+In=(It*(an/100))//Indicated thermal efficiency
+SFC=((4500*60)/(427*CV*In))//Specific fuel consumption in kg/I.H.P.hr
+
+//Output
+printf('Specific fuel consumption is %3.3f kg/I.H.P. hr',SFC)