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

How much is the volume increased, If the lengths of all sides of a box are ...

If the lengths of all sides of a box are doubled, how much is the volume increased? a. 2 times b. 4 times c. 6 times d. 8 times d. The volume of a box is taken by mu

Find the original average of boys and girls in the class, When 6 boys were ...

When 6 boys were admitted & 6 girls left the percentage of boys increased from 60% to 75%. Find the original no. of boys and girls in the class. Ans: Let the no. of Boys be x

Application of statistics-forecasting, Forecasting Statistics is very ...

Forecasting Statistics is very significant for business managers while predicting the future of a business for illustration if a given business situation includes a independen

3D Trigometry problems, I have difficuties in working out those 3D trigomen...

I have difficuties in working out those 3D trigomentry problems within teh shortest possible time. Are there any tricks to get through such problems as soon as possible?

Explain venn diagrams, Q. Explain Venn diagrams? Ans. Venn diagram...

Q. Explain Venn diagrams? Ans. Venn diagrams, named after the Englishman John Venn, are "area" or "region" diagrams that can be used to help visualize and organize differe

PARCC Practice Book, Ask question #Minimum 100 words acceptThe top of Kevi...

Ask question #Minimum 100 words acceptThe top of Kevin''s dining room table is 4 feet long, and 3 feet wide. Kevin wants to cover the middle of the table with tiles. He plans to le

An even function, Assume that   i)  Determine all the roots of f...

Assume that   i)  Determine all the roots of f(x) = 0. ii)  Determine the value of k that makes h continuous at x = 3. iii)  Using the value of k found in (ii), sh

Probability, If a school has lockers with 50 numbers on each co...

If a school has lockers with 50 numbers on each combination lock, how many possible combinations using three numbers are there.

Decision trees and bayes theory, Decision Trees And Bayes Theory This m...

Decision Trees And Bayes Theory This makes an application of Bayes' Theorem to resolve typical decision problems. It is examined a lot so it is significant to clearly understan

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