Numerical Derivative Formula: X's Not Same Distance

  • Context: Undergrad 
  • Thread starter Thread starter ddddd28
  • Start date Start date
  • Tags Tags
    Derivative Numerical
ddddd28
Messages
73
Reaction score
4
Hello,
What is the numerical formula for a derivative, considering the x's are not in the same distance?
 
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.
 
ddddd28 said:
Hello,
What is the numerical formula for a derivative, considering the x's are not in the same distance?
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.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
18K
  • · Replies 6 ·
Replies
6
Views
12K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
14
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K