summaryrefslogtreecommitdiff
path: root/2495/CH3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2495/CH3
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 '2495/CH3')
-rw-r--r--2495/CH3/EX3.3.1/Ex3_3_1.sce49
-rw-r--r--2495/CH3/EX3.3.2/Ex3_3_2.sce15
-rw-r--r--2495/CH3/EX3.3.3/Ex3_3_3.sce9
-rw-r--r--2495/CH3/EX3.3.4/Ex3_3_4.sce20
4 files changed, 93 insertions, 0 deletions
diff --git a/2495/CH3/EX3.3.1/Ex3_3_1.sce b/2495/CH3/EX3.3.1/Ex3_3_1.sce
new file mode 100644
index 000000000..a554b87fa
--- /dev/null
+++ b/2495/CH3/EX3.3.1/Ex3_3_1.sce
@@ -0,0 +1,49 @@
+clear
+clc
+//In KCL NaCl H20 system
+r=3;//no.of reactions
+C=8;//no. of constituents
+Z=2;//no.of restricting equations
+C1=C-r-Z;//no. of components
+printf('C1=%.1d',C1)
+
+//If salts present in equal amounts
+C1=C-r-(Z+1);//no. of components
+printf('\nC1=%.1d',C1)
+
+//If KCL NaCl as strong electrolytes
+r=1;//no.of reactions
+C=6;//no. of constituents
+Z=2;//no.of restricting equations
+C3=C-r-Z;//no. of components
+printf('\nC3=%.1d',C3)
+
+//If salts present in equal amounts
+C4=C-r-(Z+1);//no. of components
+printf('\nC4=%.1d',C4)
+
+//In KCL NaCl H20 system
+r=5;//no.of reactions
+C=11;//no. of constituents
+Z=2;//no.of restricting equations
+C5=C-r-Z;//no. of components
+printf('\nC5=%.1d',C5)
+
+//If salts present in equal amounts
+C6=C-r-(Z+1);//no. of components
+printf('\nC6=%.1d',C6)
+
+//If KCL NaCl NaBr and KBr as strong electrolytes
+r=1;//no.of reactions
+C=7;//no. of constituents
+Z=2;//no.of restricting equations
+C7=C-r-Z;//no. of components
+printf('\nC7=%.1d',C7)
+
+//If salts present in equal amounts
+C8=C-r-(Z+1);//no. of components
+printf('\nC8=%.1d',C8)
+
+//page 103
+
+
diff --git a/2495/CH3/EX3.3.2/Ex3_3_2.sce b/2495/CH3/EX3.3.2/Ex3_3_2.sce
new file mode 100644
index 000000000..fa89517eb
--- /dev/null
+++ b/2495/CH3/EX3.3.2/Ex3_3_2.sce
@@ -0,0 +1,15 @@
+clear
+clc
+//For system when P_NH3=P_HCl
+r=1;//no.of equations
+C=3;//no. of constituents
+Z1=1;//no. of restricting equations
+C1=C-r-Z1;//no. of components
+printf('C1=%.1d',C1)
+
+//For system when P_NH3 not equal P_HCl
+Z2=0;//no. of restricting equations
+C1=C-r-Z2
+printf('\nC1=%.1d',C1)
+
+//page 103
diff --git a/2495/CH3/EX3.3.3/Ex3_3_3.sce b/2495/CH3/EX3.3.3/Ex3_3_3.sce
new file mode 100644
index 000000000..58c5aa00b
--- /dev/null
+++ b/2495/CH3/EX3.3.3/Ex3_3_3.sce
@@ -0,0 +1,9 @@
+clear
+clc
+C=9;//no. of constituents
+r=5;//no. of equilibium reactions
+Z=1;//no. of restricting conditions
+C1=C-r-Z;//no. of components
+printf('C1=%.1d',C1)
+
+//page 103
diff --git a/2495/CH3/EX3.3.4/Ex3_3_4.sce b/2495/CH3/EX3.3.4/Ex3_3_4.sce
new file mode 100644
index 000000000..0868dc990
--- /dev/null
+++ b/2495/CH3/EX3.3.4/Ex3_3_4.sce
@@ -0,0 +1,20 @@
+clear
+clc
+//Arbitrary amounts of A1 and A2 only
+C=4;//no. of constituents
+r=1;//no. of reactions
+Z1=1;//no. of restrictions
+C1=C-r-Z1;//no. of components
+printf('C1=%.1d',C1)
+
+//Arbitrary amounts of A1,A2,A3,A4
+Z2=0
+C1=C-r-Z2;//no. of components
+printf('\nC1=%.1d',C1)
+
+//Different moles of A1 and A2 only
+Z3=2
+C1=C-r-Z3;//no. of components
+printf('\nC1=%.1d',C1)
+
+//page 103