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

Similar triangles, S IMILAR TRIANGLES : Geometry  is  the  right  ...

S IMILAR TRIANGLES : Geometry  is  the  right  foundation  of all  painting,  I have  decided to  teach its  rudiments  and  principles  to  all  youngsters  eager for  ar

Use newtons method to find out an approximation, Use Newton's Method to fin...

Use Newton's Method to find out an approximation to the solution to cos x = x which lies in the interval [0,2].  Determine the approximation to six decimal places. Solution

Indicestitle.., Advantages and disadvantages of paasche indices

Advantages and disadvantages of paasche indices

Precalc, I dont understand arcsin and arccos and how to find the domain...h...

I dont understand arcsin and arccos and how to find the domain...help?

Polynomials, sum of zero of polynomial x2-2x+1is equal to sum of zero of po...

sum of zero of polynomial x2-2x+1is equal to sum of zero of polynomial x3-2x+x then find the product of all the three zero of the second polynomial

find an explicit formula, (a) The generating function G(z) for a sequence ...

(a) The generating function G(z) for a sequence g n is given by G(z) = 1 - 2z/(1 + 3z)3 Give an explicit formula for g n . (b) For the sequence gn in the previous part co

Normal distribution, Normal Distribution Figure 1 The norm...

Normal Distribution Figure 1 The normal distribution reflects the various values taken by many real life variables like the heights and weights of people or the ma

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