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