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

1 application of complex analysis in THERMODYNAMICS, Hi, this is EBADULLA ...

Hi, this is EBADULLA its about math assignment. 1 application of complex analysis used in thermodynamics. . what all uses are there in that... plz let mee know this answer.

Properties of integer exponents, Note that there are two possible forms for...

Note that there are two possible forms for the third property. Usually which form you use is based upon the form you want the answer to be in. Note as well that several of these

Probability, TWO PERSONS A AND B AGREE TO MEET AT A PLACE BTWEEN 11 TO 12 N...

TWO PERSONS A AND B AGREE TO MEET AT A PLACE BTWEEN 11 TO 12 NOON.  THE FIRST ONE TOARRIVE WAITS FOR 20 MIN AND THEN LEAVE. IF THE TIME OF THIR ARRIVAL BE INDEPENDET AND AT RNDOM,T

Negative skewness-measure of central tendency, Negative Skewness It i...

Negative Skewness It is an asymmetrical curve whether the long tail extends to the left NB: In developed countries this frequency curve for the age distribution is charact

Pre-calculus, finding the vertex for the function of the form f(x)=ax^2+bx...

finding the vertex for the function of the form f(x)=ax^2+bx+c

Indeterminate form, Indeterminate form : The 0/0 we initially got is calle...

Indeterminate form : The 0/0 we initially got is called an indeterminate form. It means that we don't actually know what it will be till we do some more work.  In the denominator

Range of f(x) =4^x+2^x+1 is, Taking 2^x=m and solving the quadratic for get...

Taking 2^x=m and solving the quadratic for getting D>=0 we get range= [3/4 , infinity )

Find out the interval of validity, Without solving, find out the interval o...

Without solving, find out the interval of validity for the subsequent initial value problem. (t 2 - 9) y' + 2y = In |20 - 4t|,   y(4) = -3 Solution First, in order to u

Generic rectangles and greatest common factors, miaty and yesenia have a gr...

miaty and yesenia have a group of base ten blocks.Misty has six more than yesnia. Yesenia''s blocks repersent 17 together they have 22 blocks,and the total of blocks repersent 85.

Number sequence, what is the formula to find a sequence on a string of numb...

what is the formula to find a sequence on a string of numbers?

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