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

Eigenvalues and eigenvectors, If you find nothing out of this rapid review ...

If you find nothing out of this rapid review of linear algebra you should get this section.  Without this section you will not be capable to do any of the differential equations wo

Geometry of convex sets, (a) Given a norm jj jj on Rn, express the closed b...

(a) Given a norm jj jj on Rn, express the closed ball in Rn of radius r with center c as a set. (b) Given a set A and a vector v, all contained in Rn, express the translate of A by

ADDING AND SUBTRACTING EQUATION, GUESS THE NUMBER THAT WHEN YOU SUBTRACT 6 ...

GUESS THE NUMBER THAT WHEN YOU SUBTRACT 6 AND THEN SUBTRACT 0 IS-14

The length of the field is 2 more than twice the width field, Samantha owns...

Samantha owns a rectangular field that has an area of 3,280 square feet. The length of the field is 2 more than twice the width. What is the width of the field? Let w = the wid

Expected opportunity loss or eol method, Expected opportunity loss or EOL m...

Expected opportunity loss or EOL method EOL method is aimed at minimizing the expected opportunity loss or OEL. The decision maker chooses the strategy along with the minimum e

Integration, how to find area under a curve?

how to find area under a curve?

3D Trigometry problems, I have difficuties in working out those 3D trigomen...

I have difficuties in working out those 3D trigomentry problems within teh shortest possible time. Are there any tricks to get through such problems as soon as possible?

Relative frequency definition, Relative Frequency  This type of probab...

Relative Frequency  This type of probability requires us to make some qualifications. We define probability of event A, occurring as the proportion of times A occurs, if we re

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