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

Draw a lattice hierarchy for dimension, New England University maintains a ...

New England University maintains a data warehouse that stores information about students, courses, and instructors. Members of the university's Board of Trustees are very much inte

Rate -categories of multiplication, Rate - when we know how many objects...

Rate - when we know how many objects are in a set, and need to find out the total number in several copies of that set. (e.g., if a child uses 4 copybooks in a year, how many co

Math, 3 9/10 into decimal

3 9/10 into decimal

Calcilate the height of the cone of which the bucket , A bucket of height 8...

A bucket of height 8 cm and made up of copper sheet is in the form of frustum of right circular cone with radii of its lower and upper ends as 3 cm and 9 cm respectively. Calculate

Percents, If 2/3 of a number is 24 then 1/4 of a number is...

If 2/3 of a number is 24 then 1/4 of a number is...

find an explicit formula, (a) The generating function G(z) for a sequence ...

(a) The generating function G(z) for a sequence g n is given by G(z) = 1 - 2z/(1 + 3z)3 Give an explicit formula for g n . (b) For the sequence gn in the previous part co

MATH, I don''t understand so what is 3 (8-x);24-15

I don''t understand so what is 3 (8-x);24-15

Practical geometry, Ask question draw a line parallel to given line xy at a...

Ask question draw a line parallel to given line xy at a distance of 5cm from it #Minimum 100 words accepted#

Find the average, The center of a national park is located at (0,0). A spec...

The center of a national park is located at (0,0). A special nature preserve is bounded by by straight lines connecting the points A at (3,2), B at (5,1), C at (8,4) and D at (6,5)

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