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

I need help in math badly, I just have a hard time in math in every other c...

I just have a hard time in math in every other class I have an A or B but in math I have a C+ I at least want a B- or B+ or A- or even an A+

Shares and dividends, how to see shares and dividends of a company and are ...

how to see shares and dividends of a company and are they seen day wise?

Properties of t distribution, Properties of t distribution 1. The t di...

Properties of t distribution 1. The t distribution ranges from - ∞ to ∞ first as does the general distribution 2. The t distribution as the standard general distribution is

Area under curve, Write a program to find the area under the curve y = f(x)...

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b. The area under a curve between two points can b

Project, elliptical path of celestial bodies

elliptical path of celestial bodies

What is the conditional probability based on die questions, A die is rolled...

A die is rolled twice and the sum of the numbers appearing on them is observed to be 7.What is the conditional probability that the number 2 has appeared at least once? A) 1/3

Horizontal tangents for parametric equations, Horizontal tangents for Param...

Horizontal tangents for Parametric Equations Horizontal tangents will take place where the derivative is zero and meaning of this is that we'll get horizontal tangent at value

Calculate area of a square, The area of a square is given by the formula wi...

The area of a square is given by the formula width time's height. But since the square has all the sides equal, the height is of the same measure as its width. Hence its formula is

Maclaurin series - sequences and series, Maclaurin Series Before w...

Maclaurin Series Before working any illustrations of Taylor Series the first requirement is to address the assumption that a Taylor Series will in fact exist for a specifi

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