Question: Help Using The LegendreP Function

Does anyone know how to get the function

LegendreP(1,1,cos(theta)) to return the value of sin(theta) ?

I'm using the associated Legendre function.

I think the first 1 represents the degree of the polynomial, and the second 1 stands for the derivative order. (I'm not sure).

When using the associated Legendre function, LegendreP(u,v,cos(theta)), I get the expected results only for certain combinations of the values of u and v.

The problem has to do with the eveness and oddness of u and v.

I also tried manipulating the global variable, _Env...? (Can't recall it's full name).

Thanks,

respectfully,

Dan
Please Wait...