summaryrefslogtreecommitdiff
path: root/3876/CH9/EX9.17/Ex9_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '3876/CH9/EX9.17/Ex9_17.sce')
-rw-r--r--3876/CH9/EX9.17/Ex9_17.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3876/CH9/EX9.17/Ex9_17.sce b/3876/CH9/EX9.17/Ex9_17.sce
new file mode 100644
index 000000000..c8ea4479e
--- /dev/null
+++ b/3876/CH9/EX9.17/Ex9_17.sce
@@ -0,0 +1,14 @@
+//Chapter 9 Ionic Equilibria and Buffer Action
+
+clc;
+clear;
+
+//Initialisation of Variables
+c= 0.1 //M
+Ka= 6.3*10**-5
+pKw= 14
+//CALCULATIONS
+pH= -0.5*log10(Ka)+0.5*pKw+0.5*log10(c)
+
+//RESULTS
+mprintf("pH of a buffer solution = %.2f",pH)