A software implementation of a couple of my easily iterable solubility equations.
You probably have the GNU C Compiler at your disposal. Open a terminal, navigate to the source folder and execute
gcc -o solubility solubilidad_noionc.c -lm
from where the source code resides.
I have used code::blocks some time ago to start learning C. Use what works best for you as it shouldn't matter at this level.
It's very specific. It's to be used for water 1+1 cation-anion solutions and 1+1 cation-anion solute without the common ion effect. I made it for quick calculator usage requiring just the ans function. Using a fuller expression of the... median activity method was it called? might be more useful.
Where:
- C stands for solution concentration in Molarity
- Kps stands for thermodynamic solubility constant, not solubility constant (e.g: Kps = activity1 * activity2 = α1[c1] * α2*[c2])
This effect adds a little bit of complexity but comes from almost the same three equations. Its processed form is as follows: