Legendre Polynomial/Examples

Examples
The first five Legendre polynomials are:


 * $P_0 \left({x}\right) = 1$


 * $P_1 \left({x}\right) = x$


 * $P_2 \left({x}\right) = \dfrac 1 2 \left({3 x^2 - 1}\right)$


 * $P_3 \left({x}\right) = \dfrac 1 2 \left({5 x^3 - 3 x}\right)$


 * $P_4 \left({x}\right) = \dfrac 1 8 \left({35 x^4 - 30 x^2 + 3}\right)$