Ask Your Question

Revision history [back]

legendre_P(6,0) different evaluations

I tried to evaluate

legendre_P(6,0)

and

 legendre_P(6,x).subs(x=0)

in the sagecell. The first one gives 5/16 but the second one gives -5/16. Why are these two results different?