Question: in built LegendreP() arguments

I'm trying to verify whether the result obtained from a recursive Legendre function that I defined is the same as that obtained from the function available in Maple.

The arguments for LegendreP() mentioned seem to be v,x where v is the algebraic expression's degree and x is the expression. I tried calling the function as LegendreP(6,x) since I am to obtain the value at n=6 but this statement is not giving me an output in return that I can use to compare.

Would I have to plot both functions in order to be able to compare them?

 

Please Wait...