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

Determine the area of the rectangle, Stuckeyburg is a very small town in ru...

Stuckeyburg is a very small town in rural America. Use the map to approximate the area of the town. a. 40 miles 2 b. 104 miles 2 c. 93.5 miles 2 d. 92 miles 2

Experience language pictures symbols-e - l - p - s , E - L - P - S : Has t...

E - L - P - S : Has the title of this section stumped you? Children, similarly, don't understand new symbols that are thrust upon them without giving them an adequate grounding. Y

Types of series - special series , Series - Special Series In this pa...

Series - Special Series In this part we are going to take a concise look at three special series.  In fact, special may not be the correct term.  All three have been named th

Greatest common factors, Lindy has 48 chocolate chip cookies and 64 vanilla...

Lindy has 48 chocolate chip cookies and 64 vanilla wafers. How many bags can lindy fill if she puts the chocolate chip cookies and the vanilla wafers in the same bags? She plans

Alternating series test - sequences and series, Alternating Series Test - S...

Alternating Series Test - Sequences and Series The final two tests that we looked at for series convergence has needed that all the terms in the series be positive.  Actually t

If she remains going at similar rate how long will it take, Susan traveled ...

Susan traveled 114 miles in 2 hours. If she remains going at the similar rate, how long will it take her to go the remaining 285 miles of her trip? There is a 1 in 6 chance of

What could the dimensions of the floor be in terms of x, Harold is tiling a...

Harold is tiling a rectangular kitchen floor with an area that is expressed as x 2 + 6x + 5. What could the dimensions of the floor be in terms of x? Because area of a rectang

How much will it have depreciated after 2 years, The value of a computer is...

The value of a computer is depreciated over ?ve years for tax reasons (meaning that at the end of ?ve years, the computer is worth $0). If a business paid $2,100 for a computer, ho

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