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

Unit rates with fractions, a math problem that involves the numbers $112 fo...

a math problem that involves the numbers $112 for 8 hours

What is minimum spanning tree, What is minimum spanning tree?  Determine a ...

What is minimum spanning tree?  Determine a railway network of minimal cost for the cities in the following graph using Kruskal's algorithm. Ans: Minimum spanning tree in a con

Venn diagram - set theory and calculus, Venn Diagram - Set theory and calcu...

Venn Diagram - Set theory and calculus A easy way of representing sets and relations among sets is by means of the Venn diagram. Venn diagram includes of a rectangle that pres

Determine the measure of the smallest angle, The calculation of two complem...

The calculation of two complementary angles are in the ratio of 7:8. Determine the measure of the smallest angle. a. 84° b. 42° c. 48° d. 96° b. Two angles are compl

Find the return period in years of the critical event, 1. A drainage system...

1. A drainage system overflows into a river causing pollution when the rainfall falling in an hour exceeds 50 mm. During any given year, the maximum hourly rainfall follows an expo

Linear approximation method for interpolation, Linear Approxi...

Linear Approximation Method This is a rough and ready method of interpolation and is best used when the series moves in predicted interval

Marketing plan and its parts, can you offer help with an entry level market...

can you offer help with an entry level marketing class and with developing charts and tables for the final marketing plan?

Example of complex roots, Solve the subsequent IVP. y'' - 4y' + 9y = 0, ...

Solve the subsequent IVP. y'' - 4y' + 9y = 0, y(0) = 0, y'(0) = -8 Solution The characteristic equation for such differential equation is. As:  r 2 - 4r + 9 = 0

Concurrent deviation method, Normal 0 false false false ...

Normal 0 false false false EN-IN X-NONE X-NONE

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