summaryrefslogtreecommitdiff
path: root/615/CH2/EX2.12/2_12.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /615/CH2/EX2.12/2_12.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 '615/CH2/EX2.12/2_12.sce')
-rwxr-xr-x615/CH2/EX2.12/2_12.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/615/CH2/EX2.12/2_12.sce b/615/CH2/EX2.12/2_12.sce
new file mode 100755
index 000000000..63981192d
--- /dev/null
+++ b/615/CH2/EX2.12/2_12.sce
@@ -0,0 +1,18 @@
+
+//acids and bases//
+//example 2.12//
+K=1.7*10^-5;//Dissociation constant of NH4OH//
+N=0.01;//Normality of NH4OH solution//
+V=1/N;
+a=sqrt(K*V);//since a is very small//
+printf('percentage of ionization is %f',a);
+OH=a*N;
+printf('\n concentration of OH- ions before addition of NH4Cl is %fg.ion/lit',OH);
+disp("concentration of hydroxyl ions after adding NH4Cl:");
+disp(" In the presence of highly ionized NH4Cl,ammonium-hydroxide will remain practically unionized.Thus,all NH4+ ions will be obtained from dissociation of NH4Cl");
+NH4=0.05;//concentration of NH4+ in g.ion/lit//
+NH4OH=0.01;//concentration of NH4OH in g.mol/lit//
+OH=K*NH4OH/NH4;
+OH=OH/10^-6;
+printf('\n the concentration of hydroxyl ions after adding NH4Cl is %fmg.ion/lit',OH);
+disp(" A comparision of OH- concentration under two conditions indicate that hydroxyl ion concentration is decreased by addition of ammonium chloride"); \ No newline at end of file