crazy
Salutation,
I hit some kind of a wall when trying to integrate (make integrals) of exponential from x to infinity in C#:
f(x) = something * Integral(from x to infinity) of exp^-x^2 dx
I've searched before coming here, but only found things that integrates from 0 to 1, with horrible loops...
The thing is, the function exp^-x^2, its integral is the "erfc" function (for those who know) and this function is usually solved by looking up the "x" boundary in a table, and get the result. I want to try to do it without having to create a database for this table and make the application go check the table (if integration with infinity boundary is possible in coding I mean) everytime I need to calculate something.
Specially that the "x" boudary is not constant and will be approximate to the value in the table (even by applying a ceil or floor function, the value won't be exact)...
Any idea?
Crazy, going crazy:)