diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /615/CH2/EX2.14/2_14.sce | |
download | Scilab-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.14/2_14.sce')
-rwxr-xr-x | 615/CH2/EX2.14/2_14.sce | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/615/CH2/EX2.14/2_14.sce b/615/CH2/EX2.14/2_14.sce new file mode 100755 index 000000000..c3b1af2db --- /dev/null +++ b/615/CH2/EX2.14/2_14.sce @@ -0,0 +1,11 @@ +//acids and bases//
+//example 2.14//
+C1=0.06;//concentration od acetic acid in g.mol/lit//
+C2=0.04;//concentration of sodium acetate in g.mol/li//
+disp("Due to the fact sodium acetate being completely dissociated avd acetic acid in the presence of former,the acetate ions are mainly obtained from the former");
+printf("the concentration of acetate ions are %fg.ion/lit",C2);
+K=1.8*10^-5;//dissociation constant of acetic acid//
+H=K*C1/C2;
+printf("\nthe H+ concentration of the solution is %fg.ion/lit",H);
+pH=-log10(H);
+printf("\nThe pH of solution is %f",pH);
\ No newline at end of file |