 For integrating over a general real interval formula_5, a change of interval can be applied to convert the problem to one of integrating over formula_2.Several researchers have developed algorithms for computing Gauss-Legendre quadrature nodes and weights based on the Newton-Raphson Method for finding roots of functions.Various optimizations for this specific problem are used.