summaryrefslogtreecommitdiff
path: root/3856/CH11/EX11.4/Ex11_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3856/CH11/EX11.4/Ex11_4.sce')
-rw-r--r--3856/CH11/EX11.4/Ex11_4.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3856/CH11/EX11.4/Ex11_4.sce b/3856/CH11/EX11.4/Ex11_4.sce
new file mode 100644
index 000000000..2ac54d7b1
--- /dev/null
+++ b/3856/CH11/EX11.4/Ex11_4.sce
@@ -0,0 +1,21 @@
+//Calculate the pH of of a buffer solution what is pH of the buffer solution after the addition of HCl
+
+//Example 11.4
+
+clc;
+
+clear;
+
+C1=0.40; //Concentration of Acetic acid in M
+
+C2=0.55; //Concentration of Sodium Acetate in M
+
+pH1=4.76+log10(C2/C1); //pH of the Buffer solution before addition of HCl
+
+printf("pH of the Buffer solution = %.2f",pH1);
+
+C3=0.10; //Concentration of HCl in M
+
+pH=4.76+log10((C2-C3)/(C1+C3)); // pH of the Buffer solution after addition of HCl
+
+printf("\n pH of the Buffer solution after addition of HCl = %.2f",pH);