1. ## Numerical Analysis - Using Gaussian quadrature

Hello, I'm needing to use the Gaussian quadrature rule on this function, but am confused as how to even start it, or what equation to use. All of the examples I could find are from -1 to 1 and my problem is from 0 to 2. Any help is greatly appreciated.

2. Originally Posted by Mahonroy
Hello, I'm needing to use the Gaussian quadrature rule on this function, but am confused as how to even start it, or what equation to use. All of the examples I could find are from -1 to 1 and my problem is from 0 to 2. Any help is greatly appreciated.

Gaussian quadrature - Wikipedia, the free encyclopedia

3. Originally Posted by Mahonroy
Hello, I'm needing to use the Gaussian quadrature rule on this function, but am confused as how to even start it, or what equation to use. All of the examples I could find are from -1 to 1 and my problem is from 0 to 2. Any help is greatly appreciated.
The change of variable $\displaystyle x= 1+t$ tranform the integral as follows...

$\displaystyle \displaystyle \int_{0}^{2} e^{x^{2}}\ dx = \int_{-1}^{1} e^{(1+t)^{2}}\ dt$ (1)

Kind regards

$\displaystyle \chi$ $\displaystyle \sigma$

4. This makes sense now, just shifting the graph up to line it up with the new interval, thanks!