Finds the pH as −log₁₀[H⁺]. Choose whether you are entering a concentration or a pH, so the calculation works in either direction.