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

Maths for Social Science, A retired couple has up to $30000 to invest in fi...

A retired couple has up to $30000 to invest in fixed-income securities. Their broker recommends investing in two bonds: one a AAA bond yielding 8%; the other a B+ bond paying 12%.

Geometric , a part of a line with two end points.

a part of a line with two end points.

Theorem to computer the integral, Use green's theorem to computer the integ...

Use green's theorem to computer the integral F . dr where F = ( y^2 + x, y^2 + y) and c is bounded below the curve y= - cos(x),, above by y = sin(x) to the left by x=0 and to the r

Ratio, how to make a tape diagram and a equivalent ratio

how to make a tape diagram and a equivalent ratio

Give an equations with the variable on both sides, Give an Equations with t...

Give an Equations with the variable on both sides ? Many equations that you encounter will have variables on both sides. Some of these equations will even contain grouping sy

Area of polygons, ho we can find the area of diffrent types of polygon

ho we can find the area of diffrent types of polygon

Algorithm, what does algorithm refer to

what does algorithm refer to

How many people should she expect not to show, Laura is planning her weddin...

Laura is planning her wedding. She expects 230 people to attend the wedding, but she has been told that around 5% typically don't show. About how many people should she expect not

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