1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Expand a function in Legendre

  1. May 15, 2013 #1
    I get a series of Legendre expansion coefficients for a function. Then I compute the value of the function via expansion coefficients. As I want to whether the code is right or not, finally I expand the function in Legendre again. the result is almost same as before, but some coefficients is negative which are not exist before. I want to know why ?
    The code are all fortran.
    Thanks a lot!
  2. jcsd
  3. May 15, 2013 #2


    User Avatar

    Staff: Mentor

    You'll have to show the code!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook