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 mass of the hemisphere, Question 1. Use cylindrical coordinat...

Question 1. Use cylindrical coordinates to nd the mass of the solid of density e z which lies in the closed region  Question 2. The density of a hemisphere of radius a (y 

If pth term of ap is q and qth term is p. p.t its nth term, If the p th te...

If the p th term of an AP is q and the q th term is p. P.T its n th term is (p+q-n). Ans:    APQ a p = q a q = p a n = ? a + (p-1) d = q a + (q-1) d = p

Example of multiplication of complex numbers, Multiply following and write ...

Multiply following and write the answers in standard form.  (a) 7 i ( -5 + 2 i )  (b) (1 - 5 i ) ( -9 + 2 i ) Solution (a) Thus all that we have to do is distribu

Math help until tuesday, I need help with pre algebra in 5th grade intermid...

I need help with pre algebra in 5th grade intermidate school math until Tuesday afternoon please

Clique graph, Consider the clique graph below. a) How many subgraph...

Consider the clique graph below. a) How many subgraphs of G with 3 nodes are there?  b) How many of the subgraphs defined in part(a) are induced subgraphs?

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