Compute the derivative, Mathematics

Assignment Help:

Write an octave program that will take a set of points {xk, fk} representing a function and compute the derivative at the same points xk using

1. 2-point forward di erence

2. 2-point backward di erence

3. 3-point central di erence

4. 5-point central di erence

Use your program for the function

f(x) = ex

for which you know the correct answer to study the result as a function of h in the interval x ∈ [0; 1]. Make a table showing the values of the maximum absolute and relative errors for the 4 di erent methods for values of n=10, 100, 1000, 10000. Plot the di erent estimates for the derivative together with the analytical answer for 2 values of n. Comment on your results. You should submit an octave script or function le I can use to reproduce your results and a separate document (plain text le preferred) for your comments.

2050_Compute the derivative.png


Related Discussions:- Compute the derivative

Fundamental theorem of calculus, Fundamental Theorem of Calculus, Part I ...

Fundamental Theorem of Calculus, Part I As noted through the title above it is only the first part to the Fundamental Theorem of Calculus. The first part of this theorem us

Recognize the intervals for function h ( x ) = 3x5 - 5x3 + 3, For the given...

For the given function recognize the intervals where the function is increasing and decreasing and the intervals where the function is concave up & concave down. Utilizes this info

Determine the taylor series, Example : Determine the Taylor series for f(x)...

Example : Determine the Taylor series for f(x) = e x about x=0. Solution It is probably one of the easiest functions to get the Taylor series for. We just require recallin

The ratio of boys to girls at the dance was 3:4, The ratio of boys to girls...

The ratio of boys to girls at the dance was 3:4. There were 60 girls at the dance. How many boys were at the dance? Use a proportion comparing boys to girls at the dance. Boys/

Rate and ratio, express 4:24 as fraction in lowest term

express 4:24 as fraction in lowest term

saxon math, what is the muttiplied number of mutttiplacation calle

what is the muttiplied number of mutttiplacation called

What is the surface area of a ball with a diameter of 6 inch, The formula f...

The formula for the surface area of a sphere is 4πr 2 . What is the surface area of a ball with a diameter of 6 inches? Round to the nearest inch. (π = 3.14) If the diameter  o

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd