Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

pH of Acid Solutions

Ludovico Ruggeri Laderchi
Old MathSource #

Revision date


This packages computes the pH of a monoprotic acid solution, given its concentration and its dissociation costant. pH computes the exact pH values solving the equations of both the water and the acid equilibria. For didactical purposes an alternative rough method, using the simplified formula pH=-Log[k*C], is implemented too. The latter can be checked against the the exact value to show where the approximations used to derive the simplified formula are acceptable. Both functions can be used also to compute the pOH of basic solutions or the pH of poliprotic acids (considering one dissociation step only) by using the appropriate constants.

Any comments and improvements are welcome via email. I'll appreciate also email from all who downloading the package.

*Science > Chemistry

pH, solution, acid
Downloads Download Wolfram CDF Player

pH.m (1.8 KB) - Mathematica Package

Files specific to Mathematica 2.2 version:
pH.m (1.9 KB) - Mathematica Package