summaryrefslogtreecommitdiff
path: root/32/CH11/EX11.08/11_08.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /32/CH11/EX11.08/11_08.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 '32/CH11/EX11.08/11_08.sce')
-rwxr-xr-x32/CH11/EX11.08/11_08.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/32/CH11/EX11.08/11_08.sce b/32/CH11/EX11.08/11_08.sce
new file mode 100755
index 000000000..82e41b586
--- /dev/null
+++ b/32/CH11/EX11.08/11_08.sce
@@ -0,0 +1,26 @@
+//pathname=get_absolute_file_path('11.08.sce')
+//filename=pathname+filesep()+'11.08-data.sci'
+//exec(filename)
+//Specific heat of hot gases(in kJ/kg.K):
+Cpg=1.0032
+//Temperature of burnt gases(in K):
+Tg=177+273
+//Ambient air temperature(in K):
+Ta=27+273
+//Natural draught temperature(in K):
+Tn=327+273
+//Mass per kg of fuel required for natural draught(in kg):
+mn=25
+//Mass per kg of fuel required for artificial draught(in kg):
+ma=20
+//Ratio of brake power for induced draught to forced draught:
+r=Tg/Ta
+//Heat carried by hot flue gases in artificial draught(in per kg of fuel burnt):
+Qgad=(ma+1)*Cpg*(Tg-Ta)
+//Heat carried by hot flue gases in natural draught(in per kg of fuel burnt):
+Qgnd=(mn+1)*Cpg*(Tn-Ta)
+//Ratio of heat carried away:
+rh=Qgad/Qgnd
+printf("\n RESULT \n")
+printf("\nRatio of power required = %f",r)
+printf("\nRatio of heat carried away = %f",rh) \ No newline at end of file