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

Show that cos - cos /sin - sin = a/b, A ladder sets against a wall at an ...

A ladder sets against a wall at an angle α to the horizontal.  If the foot is pulled away from the wall through a distance of 'a', so that is slides a distance 'b' down the wall ma

Statistics, The winning team''s score in 21 high school basketball games wa...

The winning team''s score in 21 high school basketball games was recorded. If the sample mean is 54.3 points and the sample standard deviation is 11.0 points, find the 90% confiden

Dora, dora and her family are driving to visit relatives for the holidays t...

dora and her family are driving to visit relatives for the holidays they travel 174 miles in 3 hours if they travel at a constant speed how many miles do they travel in one hourest

Describe square roots, Describe Square Roots? When a number is written ...

Describe Square Roots? When a number is written inside a radical sign (√), the number is called the radicand, and we say that you are "taking the square root of" that number.

Help, I really need help with 30 60 90 right triangles and my last tutor di...

I really need help with 30 60 90 right triangles and my last tutor did not make sense to me so can you please help

Comparison test for improper integrals - integration, Comparison Test for I...

Comparison Test for Improper Integrals Here now that we've seen how to actually calculate improper integrals we should to address one more topic about them.  Frequently we ar

Piecewise, x=±4, if -2 = y =0 x=±2, if -2 = y = 0

x=±4, if -2 = y =0 x=±2, if -2 = y = 0

What is the average temperature on the celsius scale, Peggy's town has an a...

Peggy's town has an average temperature of 23° Fahrenheit in the winter. What is the average temperature on the Celsius scale? If the total amount for both is 80, after that th

Factoring, how are polynomials be factored/?

how are polynomials be factored/?

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