summaryrefslogtreecommitdiff
path: root/615/CH2/EX2.25/2_25.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.25/2_25.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.25/2_25.sce')
-rwxr-xr-x615/CH2/EX2.25/2_25.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/615/CH2/EX2.25/2_25.sce b/615/CH2/EX2.25/2_25.sce
new file mode 100755
index 000000000..c49741285
--- /dev/null
+++ b/615/CH2/EX2.25/2_25.sce
@@ -0,0 +1,16 @@
+//acids and bases//
+//example 2.25//
+N1=0.2;//normality of HCl//
+V1=25;//volume of HCl in ml//
+M2=0.25;//molarity of NaOH//
+N2=M2*1;//normality of NaOH//
+V2=50;//volume of NaOH in ml//
+V=V1+V2;//volume of resulting solution//
+N=(N2*V2-N1*V1)/V;//normality of resulting solution//
+printf("Concentration of OH- per litre in the mixure will be %fM",N);
+K=1*10^-14;//ionization constant of water//
+H=K/N;
+H1=H/10^-13;
+printf("\nH+ concentration of the solution is %f*10^-13M",H1);
+pH=-log10(H);
+printf("\npH of the mixure will be %f",pH) \ No newline at end of file