229 views (last 30 days)

Show older comments

can anyone help me with this function, please?

find numerical derivative of f(x) = tan−1(?) at x = 2 using central difference scheme where is x is in radians. Use different values of step size h in central difference scheme and compare with true value of the derivative by plotting error for the different h. f(x) means function of x.

Jim Riggs
on 10 May 2020

Edited: Jim Riggs
on 10 May 2020

Here are some Numerical difference formulas using the central difference method (substitute dt = h).

You can find more formulas with even higher accuracy on wikipedia. (see "numerical differentiation" and also "finite difference coefficient"

Muhammad Hammad Malik
on 14 Feb 2021

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!