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

Arithmetic progression (a.p.), A series is said to be in Arithmetic...

A series is said to be in Arithmetic Progression (A.P.) if the consecutive numbers in the series differs by a constant value. This constant value is referre

Mathematical science, state tha different types of models used in operation...

state tha different types of models used in operations research.

.fractions, what is the difference between North America''s part of the tot...

what is the difference between North America''s part of the total population and Africa''s part

Find out the product of 5.2 × 10^3 and 6.5 × 10^7, Find out the product of ...

Find out the product of 5.2 × 10 3 and 6.5 × 10 7 . Write your answer in scientific notation. To multiply numbers written within scienti?c notation,  multiply the ?rst numbers

Liner regression, Liner Regression The calculations for our sample siz...

Liner Regression The calculations for our sample size n = 10 are described below. The linear regression model is y = a + bx Table: Distance x miles

The square of a positive number is 49 what is the number, The square of a p...

The square of a positive number is 49. What is the number? Let x = the number.  The sentence that is , "The square of a positive number is 49," translates to the equation x 2

What is the average of his four quiz grades, Andy earned the subsequent gra...

Andy earned the subsequent grades on his four math quizzes: 97, 78, 84, and 86. What is the average of his four quiz grades? To ?nd out the average, you must add the items (97

the speed of the motor boat, A motor boat takes Six hours to cover 100 km ...

A motor boat takes Six hours to cover 100 km downstream and 30 km  upstream. If the motor boat goes 75 km downstream and returns  back to its starting point in 8 hours, find the sp

Surface area with polar coordinates, Surface Area with Polar Coordinates ...

Surface Area with Polar Coordinates We will be searching for at surface area in polar coordinates in this part.  Note though that all we're going to do is illustrate the formu

Finding the area of a triangle, Q. Finding the Area of a Triangle? Ther...

Q. Finding the Area of a Triangle? There are three commonly used methods to find the area of a triangle. The method you use to find the area depends on the information you kno

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