- #1

ognik

- 643

- 2

## Homework Statement

Evaluate the definite integral below numerically (between limits -1 and 1) using a couple of numerical methods, including Gauss-Legendre quadrature - and compare results.

## Homework Equations

$$ \int{(1-x^2)^\frac{1}{2}} dx $$

"Gauss quadrature yields the exact integral if φ is of degree 2N-1 or less"

## The Attempt at a Solution

Its not obvious to me what degree this polynomial is? I would say it has 2 roots, so must be of degree 2?

I believe, as above, I need the degree to decide what degree to use for Gauss-Legendre quadrature; If this is of degree 2, then can I use N=2 for the quadrature?

Last edited: