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

Applications of series - estimating the value of a series, Estimating the V...

Estimating the Value of a Series One more application of series is not actually an application of infinite series.  It's much more an application of partial sums.  Actually, we

Dividing mixed numbers, Dividing Mixed Numbers Dividing mixed numbers i...

Dividing Mixed Numbers Dividing mixed numbers is a 3-step process: 1. Convert the mixed numbers to improper fractions. 2. Divide the fractions 3. Convert the result ba

What division means, WHAT DIVISION MEANS :  Ask any primary school teacher...

WHAT DIVISION MEANS :  Ask any primary school teacher which areas in arithmetic the children find very difficult. Division will probably top her list. This is not surprising. If y

Factors, Question Suppose that f(x) has (x - 2) 2 and (x + 1) as its on...

Question Suppose that f(x) has (x - 2) 2 and (x + 1) as its only factors. Sketch the graph of f. State all the zeros of f.

Exponential and geometric model, Exponential and Geometric Model Expo...

Exponential and Geometric Model Exponential model  y = ab x Take log of both sides log y = log a + log b x log y = log a + xlog b Assume log y = Y and log a

Standard form of a complex number, Standard form of a complex number So...

Standard form of a complex number So, let's start out with some of the basic definitions & terminology for complex numbers. The standard form of a complex number is

Mixing problems, Let's start things by searching for a mixing problem.  Pre...

Let's start things by searching for a mixing problem.  Previously we saw these were back in the first order section. In those problems we had a tank of liquid with several kinds of

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