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

Definition of random variables, Q. Definition of Random Variables? Ans...

Q. Definition of Random Variables? Ans. Up to this point, we have been looking at probabilities of different events. Basically, random variables assign numbers to element

Prove that a simple graph is connected, Prove that a simple graph is connec...

Prove that a simple graph is connected if and only if it has a spanning tree.    Ans: First assume that a simple graph G has a spanning  tree T.  T consists of every node of G.

Solve-|x2-5x+4/x2-4|

x^2-5x+4 can written in roots as (x-1)*(x-4) x^2-4 can be written interms of (x-2)(x+2).so [(x-1)(x-4)/(x-2)(x+2)]

What is the maximum number calories which consume from fats, Josephine is o...

Josephine is on an 1,800 calorie per day diet. She tries to remain her intake of fat to no more than 30% of her overall calories. Based on an 1,800 calorie a day diet, what is the

Calculus Homework, Find the slope of the line tangent to the graph of f(x)=...

Find the slope of the line tangent to the graph of f(x)= 3-2ln(2x^2+4) at the point (4, F(4))

Applications of derivatives rate change, Application of rate change Bri...

Application of rate change Brief set of examples concentrating on the rate of change application of derivatives is given in this section.  Example    Find out all the point

Airthmetic progression series, Each of the series 3+5+7+..... and 4+7+10......

Each of the series 3+5+7+..... and 4+7+10.......... is continued to 100 terms find how many terms are identical. Ans) 48 terms would be common to both the series... first take co

If she remains going at similar rate how long will it take, Susan traveled ...

Susan traveled 114 miles in 2 hours. If she remains going at the similar rate, how long will it take her to go the remaining 285 miles of her trip? There is a 1 in 6 chance of

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