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

Expected value of perfect information, Expected Value of Perfect Informatio...

Expected Value of Perfect Information In the above problems we have used the expected value criterion to evaluate the decisions under the conditions of risk. But, as long as un

Linear programming, Maximize P=3x+2y Subject to ...

Maximize P=3x+2y Subject to x+y =6 x =3 x =0,y =0

Geometry , Solving for X in isosceles triangles

Solving for X in isosceles triangles

Forecast errors, Forecast Errors Differences among actual results and ...

Forecast Errors Differences among actual results and predictions may arise from many reasons. They may arise from random influences, usual sampling errors, option of the wrong

Reason why we start division, Reasons why we start division : The reason w...

Reasons why we start division : The reason we start division by considering the digit in the leftmost place is efficiency and ease . For instance, suppose we divide 417 by 3, we

Probability, julie has 3 hats and 5 scarves. How many ways can she wear a h...

julie has 3 hats and 5 scarves. How many ways can she wear a hat and a scarf?

Statistics, If a mean score is 89 with a standard deviation of 8 points. Wh...

If a mean score is 89 with a standard deviation of 8 points. What is the least score you can make and be in the top 20%?

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