diff options
Diffstat (limited to '1427/CH5/EX5.25/5_25.sce')
-rw-r--r-- | 1427/CH5/EX5.25/5_25.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/1427/CH5/EX5.25/5_25.sce b/1427/CH5/EX5.25/5_25.sce new file mode 100644 index 000000000..10a14aead --- /dev/null +++ b/1427/CH5/EX5.25/5_25.sce @@ -0,0 +1,8 @@ +//ques-5.25
+//Calculating pH of a buffer solution
+clc
+Ka=1.8*10^-5;
+m1=0.2;//moles of acetic acid
+m2=0.1;//moles of sodium acetate
+p=-log10(Ka)+log10(m2/m1);
+printf("pH of the given buffer is %.4f.",p);
|