summaryrefslogtreecommitdiff
path: root/827
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /827
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '827')
-rw-r--r--827/CH2/EX2.1a/2_1a.sce18
-rw-r--r--827/CH9/EX9.1.a/9_1a.sce28
-rw-r--r--827/CH9/EX9.1.b/9_1b.sce31
3 files changed, 77 insertions, 0 deletions
diff --git a/827/CH2/EX2.1a/2_1a.sce b/827/CH2/EX2.1a/2_1a.sce
new file mode 100644
index 000000000..a75e48a10
--- /dev/null
+++ b/827/CH2/EX2.1a/2_1a.sce
@@ -0,0 +1,18 @@
+clear
+clc
+// CHEMISTRY FOR ENVIRONMENTAL AND ENGINEERING SCIENCE FIFTH EDITION
+
+disp(' Chapter 2: Basic Concepts from General Chemistry')
+
+disp('example 2.1a')
+
+// To calculate the equivalent weight
+disp("What is the equivalent weight of a calcium ion")
+// Let the equivalent weight be denoted by EW, formula waight be denoted by FW, and Z be denoted by the absolute value of ion charge
+disp("Z=2 for calcium ion")
+disp("The formula weight of calcium ion is 40 g/mol")
+FW=40
+Z=2
+EW=FW/Z
+printf("The equivalent weight of calcium ion is %.f g per equivalent",EW);
+//end
diff --git a/827/CH9/EX9.1.a/9_1a.sce b/827/CH9/EX9.1.a/9_1a.sce
new file mode 100644
index 000000000..6b610ff8b
--- /dev/null
+++ b/827/CH9/EX9.1.a/9_1a.sce
@@ -0,0 +1,28 @@
+// CHEMISTRY FOR ENVIRONMENTAL AND ENGINEERING SCIENCE FIFTH EDITION
+disp(' Chapter 9: Introduction to Water and Wastewater analysis')
+
+//To calcluate the TCE concentration
+
+disp('What is the TCE concentration in g/m^3 for each of the following')
+
+disp('example 9.1 a')
+
+
+disp( 'A soil having a density of of 2 g/cm^3 with TCE concentration of 4 ppm')
+
+
+
+// Since density is given in cm^3 it has to be converted into m^3
+
+density=2*1000
+
+//Since 1ppm= 1/10^6 g, we get
+
+ppm = 4/10^6
+
+disp(' TCE concentration in g/cm^3 is')
+
+TCE= ppm*density
+
+disp(TCE)
+
diff --git a/827/CH9/EX9.1.b/9_1b.sce b/827/CH9/EX9.1.b/9_1b.sce
new file mode 100644
index 000000000..bd9031c1e
--- /dev/null
+++ b/827/CH9/EX9.1.b/9_1b.sce
@@ -0,0 +1,31 @@
+// CHEMISTRY FOR ENVIRONMENTAL AND ENGINEERING SCIENCE FIFTH EDITION
+disp(' Chapter 9: Introduction to Water and Wastewater analysis')
+
+//To calcluate the TCE concentration
+
+disp('What is the TCE concentration in g/m^3 for each of the following')
+
+disp('example 9.1 b')
+
+disp(' An air sample at 20 degree celsius and 1 atm pressure with TCE concentration of 4 ppm')
+
+
+// Since in air 4ppm equals 4mL gaseous TCE/10^6 mL air
+
+TCE = 4/10^6
+Giventemp= 20
+
+// here the given temperature is in degree celsius and has to be converted into kelvin in standard terms
+
+ Actualtemp= 273+ Giventemp
+
+// Since at standard temperature and pressure the volume is 22.4L
+
+disp('The answer is')
+
+ans = (TCE*273*131.5*10^3)/( Actualtemp*22.4)
+
+disp(ans)
+
+//We see that the concentrations in g/m^3 are quite different for the soil and air samples, even thought the concentrations when expressed in ppm are the same.This illustrates that we must understand well the general basis for mass expressions in different media
+