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

Discrete, For each of these arguments determine whether the argument is cor...

For each of these arguments determine whether the argument is correct or incorrect and explain why. a) Everyone enrolled in the university has lived in a dormitory. Mia has never l

Theorem on intervals of validity, Theorem Consider the subsequent IVP....

Theorem Consider the subsequent IVP. y′ =  p (t ) y = g (t )  y (t 0 )= y 0 If p(t) and g(t) are continuous functions upon an open interval a o , after that there i

Mixing problems, In these problems we will begin with a substance which is ...

In these problems we will begin with a substance which is dissolved in a liquid. Liquid will be entering as well as leaving a holding tank. The liquid entering the tank may or may

How many cubic feet of steel is require to construct, A spherical holding t...

A spherical holding tank whose radius to the outer surface is 10 feet is constructed of steel 1 inch thick. How many cubic feet of steel is require to construct the holding tank? R

Evaluate the convergence of the algorithms, Evaluate the convergence of the...

Evaluate the convergence of the algorithms: From the convergence proof of power method, LR and QR algorithm for the computation of eigenvalues we see that the easiest case to

Find the 14th term in the arithmetic sequence. 60, Find the 14th term in t...

Find the 14th term in the arithmetic sequence. 60, 68, 76, 84, 92

Probability, Mike sells on the average 15 newspapers per week (Monday – Fri...

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers

Runge kutta method, As noted, Euler's method is little used in practice, as...

As noted, Euler's method is little used in practice, as there are much better ways of solving initial value problems. By better, we mean, "able to achieve a result of the same prec

How many 6-inch tiles are required to tile the floor, Mark intends to tile ...

Mark intends to tile a kitchen floor, which is 9 by 11 ft. How many 6-inch tiles are required to tile the floor? a. 60 b. 99 c. 396 c. Since the tiles are calculated in

Hieght and distances, A boy standing in the middle of a field, observes a f...

A boy standing in the middle of a field, observes a flying bird in the north at an angle of elevation fo 30 degree. and after 2 min, he observes the same bird in the south at an an

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