From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 615/CH2/EX2.14/2_14.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 615/CH2/EX2.14/2_14.sce (limited to '615/CH2/EX2.14/2_14.sce') 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 -- cgit