Hacker News new | ask | show | jobs
by hyperbovine 1835 days ago
It's going to take you a while to numerically solve that integral for the uncountably many values of \alpha that you are being asked to...
3 comments

It's probably best to return a function that takes alpha as a parameter and numerically integrates for whichever finite set of alphas are required by the caller.
The usual method is to computer a reasonable number of solutions and do curve fitting.
It's the algorithm in and of itself that serves as the solution to the integral.