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 many relations are possible from a set, How many relations are possible...

How many relations are possible from a set A of 'm' elements to another set B of 'n' elements?     Ans: A relation R from a set A to other set B is specified as any subset of A

Npv, how to calculate the npv

how to calculate the npv

Determine the taylor series, Example : Determine the Taylor series for f(x)...

Example : Determine the Taylor series for f(x) = e x about x=0. Solution It is probably one of the easiest functions to get the Taylor series for. We just require recallin

Examples of play and learning maths, Here are a few examples of some team g...

Here are a few examples of some team games. The teams can be small (1-3 children) or big (15-20 children). We start with some games for small children. a) One team places a numb

Demerits and merit-the median, The median Merits i.  This shows t...

The median Merits i.  This shows the centre of a described set of data ii.  Knowledge of the determination of the median may be extended to find out the quartiles i

Determinarte, what is the differeance in between determinate and matrix .

what is the differeance in between determinate and matrix .

Some important issue of graph, Some important issue of graph Before mov...

Some important issue of graph Before moving on to the next example, there are some important things to note. Firstly, in almost all problems a graph is pretty much needed.

The expected monetary value method, The expected monetary value method ...

The expected monetary value method The expected pay off as profit associated with a described combination of act and event is acquired by multiplying the pay off for that act a

Comparing fractions, I need help trying to compare 10/15 and 8/12

I need help trying to compare 10/15 and 8/12

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