[…] turns out that the roots of f(x) - g(x) have an explicit solution in terms of the Lambert W function, which is a direct method that solves equations of the form x*exp(x) = C for x in terms of the …