Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I Numerical derivative

  1. Jan 14, 2017 #1
    Hello,
    What is the numerical formula for a derivative, considering the x's are not in the same distance?
     
  2. jcsd
  3. Jan 14, 2017 #2

    mfb

    User Avatar
    2016 Award

    Staff: Mentor

    What do you mean by "numerical formula for a derivative" and which "x's" at which distances?

    Do you have a discrete approximation for a function and try to approximate its derivative? There are multiple ways to do this, and the best one will depend on the application.


    Please stop making even more copies of this thread! I deleted the copies.
     
  4. Jan 14, 2017 #3

    Svein

    User Avatar
    Science Advisor

    The best you can do is obviously [itex] f'(x_{n})\approx \frac{y_{n+1}-y_{n}}{x_{n+1}-x_{n}}[/itex].

    There are better formulas, but then you have to know more about the distribution.

    NB! Be very careful with numerical derivation of measurement data! Very often you subtract the significant part of the data and end up with the "noise" inherent in the data.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Numerical derivative
  1. Numerical Analysis (Replies: 1)

  2. Numerical methods (Replies: 0)

  3. Numerical Integration (Replies: 17)

  4. Numerical Palindromes (Replies: 1)

  5. Numerical integrations (Replies: 2)

Loading...