Processing math: 100%

 

 

 

General integration intervals for Gauss-Legendre

Note that the Gauss-Legendre method is not limited to an interval [-1,1], since we can always through a change of variable t=ba2x+b+a2, rewrite the integral for an interval [a,b] baf(t)dt=ba211f((ba)x2+b+a2)dx.