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

Fermats theorem, Fermat's Theorem  If f(x) has a relative extrema at x...

Fermat's Theorem  If f(x) has a relative extrema at x = c and f′(c) exists then x = c is a critical point of f(x). Actually, this will be a critical point that f′(c) =0.

Ratio, There are only Chinese and Malay pupils in a hall.The ratio of the n...

There are only Chinese and Malay pupils in a hall.The ratio of the number of boys to the number of girls is 2:3.The ratio of the number of Chinese boys to the number of Malay boys

High self-esteem helps learning-how do children learn?, High Self-esteem He...

High Self-esteem Helps Learning :  Consider Ajay, a student of Class 2. He is constantly told by his irritated father, "How stupid you are! You don't even understand this! Even yo

Statistics, How do you calculate for the distance between two co-ordinates?...

How do you calculate for the distance between two co-ordinates?

Evaluate limit in l''hospital''s rule form, Evaluate the below given limit....

Evaluate the below given limit. Solution Note as well that we actually do have to do the right-hand limit here. We know that the natural logarithm is just described fo

Determine the number of full withdrawals, A worker retires with a lump sum ...

A worker retires with a lump sum superannuation benefit of $500,000. She immediately invests this money in a fund earning 5% pa effective. One year after retirement she begins maki

Estimate percent of the babies born among 6 and 8.5 pounds, 25% of babies b...

25% of babies born at Yale New Haven Hospital weigh less than 6 pounds and 78% weigh less than 8.5 pounds. What percent of the babies born at Yale New Haven Hospital weigh among 6

Utilizes the denominator for our substitution, Evaluate given integrals. ...

Evaluate given integrals.                ∫3/(5 y + 4)   dy Solution Let's notice as well that if we take the denominator & differentiate it we get only a constant and th

Decision-making under conditions of certainty, Decision-Making Under Condit...

Decision-Making Under Conditions of Certainty Conditions of certainty tend to be rare, especially when significant decisions are involved. Under conditions of certainty, decis

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