summaryrefslogtreecommitdiff
path: root/1394/CH4/EX4.2.1/Ex4_2_1.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1394/CH4/EX4.2.1/Ex4_2_1.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 '1394/CH4/EX4.2.1/Ex4_2_1.sce')
-rwxr-xr-x1394/CH4/EX4.2.1/Ex4_2_1.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1394/CH4/EX4.2.1/Ex4_2_1.sce b/1394/CH4/EX4.2.1/Ex4_2_1.sce
new file mode 100755
index 000000000..40a07e842
--- /dev/null
+++ b/1394/CH4/EX4.2.1/Ex4_2_1.sce
@@ -0,0 +1,22 @@
+
+clc
+//initialization of variables
+z = 80 // metres
+c1 = 410 //ppm
+c = 860 // ppm
+d = 2 //km
+v = 0.6 //km/hr
+r = 3600 //sec/hr
+//Calculations
+t1 = (d/v)*r//sec
+E = (-((z^2)/(4*t1))/(log(410/860)))*10^4// cm^2/sec//answer in textbook is wrong
+d2 = 15 //km
+c2 = c*(sqrt(d/d2))//ppm
+//Results
+printf("The value of dispersion coefficent is %.f cm^2/sec",E)
+printf("\n The value of maximum concentration at 15 km downstream is %.f ppm",c2)
+
+
+
+
+