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/geometric sequences and binomial expansion, find s10 for the ari...

find s10 for the arithmetic sequenxe inwhich a1=5 and a10=68

Domain and range, Taxable income Tax rate 0 - $18,200 0% $18,201- $37,000 1...

Taxable income Tax rate 0 - $18,200 0% $18,201- $37,000 19% $37,001 - $80,000 32.5% $80,001- $180,000 37% $180,001 and over 45% if this is graphed as a step fuction graph whats t

Determination of the regression equation, Determination of the Regression E...

Determination of the Regression Equation The determination of the regression equation such given above is generally done by using a technique termed as "the method of least sq

Test, a piece of ribbon measures 2,25 meters . it is cut in half . how long...

a piece of ribbon measures 2,25 meters . it is cut in half . how long is one half of the ribbon

Example of cartesian coordinate graph, Example of Cartesian coordinate Grap...

Example of Cartesian coordinate Graph: Example:   The temperature of water flowing in a high pressure line was measured at regular intervals.  Plot the subsequent recorded da

Algebra, Multiple response question.Zack puts a mug of water ni his microwa...

Multiple response question.Zack puts a mug of water ni his microwave oven. He knows that the final temperature of the water will be a function of the number of seconds he heats the

Shares and dividend, what all can be the table contents for my maths projec...

what all can be the table contents for my maths project on shares and dividend

Fraction word problem, castor brought 6 3/4 carat cakes to share with 26 st...

castor brought 6 3/4 carat cakes to share with 26 students. did castor bring enough for each student to have 1/4 of cake?

Solve 3 + 2 ln ( x /7+3 ) = -4 logarithm, Solve 3 + 2 ln ( x /7+3 ) = -4 . ...

Solve 3 + 2 ln ( x /7+3 ) = -4 . Solution This initial step in this problem is to get the logarithm by itself on one side of the equation  along with a coefficient of 1.

Discrete mathmatics, give an example of a relation R that is transitive whi...

give an example of a relation R that is transitive while inverse of R is not

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