Legendre Polynomials

Example py-file: The program to find first 6 Legendre polynomials: myLegendre.py
Figure 5.16: First 6 Legendre Polynomials $P_{\ell }(x)$ with Recursion Relation: $P_{\ell }(x)=\frac {1}{\ell }[(2\ell -1)xP_{\ell -1}(x)-(\ell -1)P_{\ell -2}(x)]$.
Image 9-1
Figure 5.17: Plot of first 6 $P_{\ell }(x)$.
Image legendre