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

Linear relations, determine the equation that represent the following lines...

determine the equation that represent the following lines be sure to define your variable and show all of your work

How many checks required to be used for the monthly costs, Green Bank charg...

Green Bank charges a monthly fee of $3 for a checking account and $.10 per check. Savings-R-Us bank charges a $4.50 monthly fee and $.05 per check. How many checks required to be u

Shares and dividends, how to see shares and dividends of a company and are ...

how to see shares and dividends of a company and are they seen day wise?

Example of distributive law, Maya gives the children examples of distributi...

Maya gives the children examples of distributive with small numbers initially, and leads them towards discovering the law. The usual way she does this is to give the children probl

.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

Maxima and minima, Maxima and Minima We have to make a distinctio...

Maxima and Minima We have to make a distinction between relative maxima (or minima) and global maxima (or minima). Let f(x) be a function of x. Then the global maxi

Determine the max theoretical information rate, 1 Data is to be transmitted...

1 Data is to be transmitted over Public Switched Telephone Network (PSTN) using 8 levels per signaling elements. If the bandwidth is 3000 Hz, deduce the theoretical maximum transfe

5% sales tax on a basket what was the price of the basket, The 5% sales tax...

The 5% sales tax on a basket was $0.70. What was the price of the basket? Use a proportion to solve the problem; part/whole = %/100. The whole is the price of the basket (wh

Finding the equation of a line, Finding the Equation of a line, Given a Slo...

Finding the Equation of a line, Given a Slope and a Point ? Find the equation of a line with slope m = 2, which passes through the point (-1, -3). Solution: Use the po

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