Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Bug in SphericalHarmonicY???' topicStudent Support Forum > General > Archives > "Bug in SphericalHarmonicY???"

Next Comment >Help | Reply To Topic
Author Comment/Response
Abhay
09/05/08 11:44am

SphericalHarmonicY[l,m,pi/2,0] is supposed to be equal to SphericalHarmonicY[l,m,-pi/2,0] as they both are analytically written in terms of LegendreP[l,m,0] (as Cos[ +- pi/2 ] = 0). But they give out different answers. Try for example SphericalHarmonicY[1,1,pi/2,0 and the same with -pi/2.

It does this because it changes the Ylm's in terms of trig functions.(see documentation center's first example for SphericalHarmonicY)

Just wanted to confirm it. I thing using Abs[] will overcome this problem.

So does anyone agree?


URL: ,

Subject (listing for 'Bug in SphericalHarmonicY???')
Author Date Posted
Bug in SphericalHarmonicY??? Abhay 09/05/08 11:44am
Re: Bug in SphericalHarmonicY??? rc 09/17/08 1:50pm
Next Comment >Help | Reply To Topic