| THEORY & FORMULAE |
Water is amphiprotic, i.e. can act both as an acid and as a base. At any particular moment, a certain amount of water molecules H2O will disassociate into hydrogen (H+) and hydroxyl (OH-) ions, and within a very short time will re-assocaite again to form water. The water auto-ionization equilibrium must always be satisfied:
     Kw = [H+][OH-] = [10-14]
By definition, the acidity or alkalinity of a solution is often expressed by its pH or pOH which are expressed as follows:
     pH = -log10[H+]
     pOH = -log10[OH-]
     pH + pOH = -log10Kw = 14
where
     [H+] = molar concetration of hydrogen ions in the solution
     [OH+] = molar concetration of hydroxyl ions in the solution
     Kw= equilibrium constant of water
◊ Use link
EXAMPLE Of Input/Output
to demo data entry expectations and results; you may edit & use it as starting point