summaryrefslogtreecommitdiff
path: root/32/CH11/EX11.21/11_21.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.21/11_21.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.21/11_21.sce')
-rwxr-xr-x32/CH11/EX11.21/11_21.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/32/CH11/EX11.21/11_21.sce b/32/CH11/EX11.21/11_21.sce
new file mode 100755
index 000000000..a1b6e46fa
--- /dev/null
+++ b/32/CH11/EX11.21/11_21.sce
@@ -0,0 +1,19 @@
+//pathname=get_absolute_file_path('11.21.sce')
+//filename=pathname+filesep()+'11.21-data.sci'
+//exec(filename)
+//Ambient air temperature(in K):
+Ta=27+273
+//Temperature of burnt gases(in K):
+Tg=630
+//Air consumed at rate(in kg air per kg of coal):
+m=15
+//Ratio of actual draught to thereotical draught:
+r=0.60
+//Actual draught:
+hw1=14
+//Theoretical draught:
+hw=hw1/r
+//Height of chimney(in m):
+H=hw/(353*(1/Ta-(m+1)/(m*Tg)))
+printf("\n RESULT \n")
+printf("\nHeight of chimney = %f m",H) \ No newline at end of file