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

Assignment Help, I would like to work on Assignment help in Mathematics

I would like to work on Assignment help in Mathematics

Rolle''s theorem, The curve (y+1) 2 =x 2 passes by the points (1, 0) and ...

The curve (y+1) 2 =x 2 passes by the points (1, 0) and (- 1, 0). Does Rolle's Theorem clarify the conclusion that  dy dx  vanishes for some value of x in the interval -1≤x≤1?

Most crucial aspect of learning multiplication, Which of the following is t...

Which of the following is the most crucial aspect of learning multiplication? i) Multiplication facts ii) Recall of tables and their recitation iii) Understanding "how man

How to find the range of a function, How to Find the range of a function ? ...

How to Find the range of a function ? Sigh. Students ask me this all the time. They don't want an explanation, they want a procedure. "Tell me the steps!" Unfortunately, th

Give a definition of perimeter and area, Give a Definition of Perimeter and...

Give a Definition of Perimeter and Area? Perimeter is the distance around a flat (2-dimensional) shape. Area is the amount of space taken up by a flat (2-dimensional) shape. is

Differentiate inside function in chain rule, Differentiate following. f ...

Differentiate following. f ( x ) = sin (3x 2   + x ) Solution It looks as the outside function is the sine & the inside function is 3x 2 +x. The derivative is then.

Wholenumberriddles, I am less than 100 the sum of my digits is 4 half of me...

I am less than 100 the sum of my digits is 4 half of me is an odd number

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