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

Calculate the probability, Coal is carried from a rrrine in West Virginia t...

Coal is carried from a rrrine in West Virginia to a power plant in New York in hopper cars on a long train. The automatic hopper car loader is set to put 36 tons of coal in each ca

Trignometric functions, sir kindly guide me in 1st order linear equations.

sir kindly guide me in 1st order linear equations.

#titleBUsiness calculus.., If $2,000 is invested in a savings account offer...

If $2,000 is invested in a savings account offering interest at a rate of 3.5% per year, compounded continuously, how fast is the balance growing after 8 years? (Round your answer

Find solution manual, i need solution manual of "calculus and analytic geom...

i need solution manual of "calculus and analytic geometry thomas 6th edition book "

Integration, find the area bounded by the curve y=5x^2-4x+3 from the limit ...

find the area bounded by the curve y=5x^2-4x+3 from the limit x=0 to x=5

Calculate the height of the tunnel and the perimeter, The adjoining figure...

The adjoining figure shows the cross-section of a railway tunnel. The radius of the tunnel is 3.5m (i.e., OA=3.5m) and ∠AOB=90 o . Calculate : i.       the height of the

What are the three sides of a right triangle, What are the Three Sides of a...

What are the Three Sides of a Right Triangle? Each side of a right triangle can be labeled opposite, adjacent, or hypotenuse, based on its relationship to the right angle and o

Measurements, 2feet wide and 12 feet long.tile is 2feet wide and 1.5feet lo...

2feet wide and 12 feet long.tile is 2feet wide and 1.5feet long.how many tiles do I need

Rate of change interpretation of derivative, Rate of Change : The first in...

Rate of Change : The first interpretation of derivative is rate of change.  It was not the primary problem which we looked at in the limit chapter, however it is the most signific

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