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

Law of Cosines, The law of cosines can only be applied to acute triangles. ...

The law of cosines can only be applied to acute triangles. Is this true or false?

Compute the quartile coefficient of skewness, By using the above data compu...

By using the above data compute the quartile coefficient of skewness Quartile coefficient of skewness = (Q3 + Q1 - 2Q2)/(Q3 + Q1)                                The positio

The Theory of Set, Set M= {m''s/m is a number from 5 to 10}

Set M= {m''s/m is a number from 5 to 10}

Application of related rates to economics and business, the wholesale p of ...

the wholesale p of string beans in dollars per bushel and the daily supply x in thousands of bushel,are related by the equation px+6x+7p=5950. if the supply is decreasing at the r

Transition matrix for the probabilitiy, Suppose research on three major cel...

Suppose research on three major cell phones companies revealed the following transition matrix for the probability that a person with one cell phone carrier switches to another.

Differential equation - maple, 1. Consider the following differential equat...

1. Consider the following differential equation with initial conditions: t 2 x'' + 5 t x' + 3 x = 0, x(1) = 3, x'(1) = -13. Assume there is a solution of the form: x (t) = t

Sum of a number of terms in a.p., We know that the terms in an ...

We know that the terms in an A.P. are given by a, a + d, a + 2d, a + 3d, ........ a + (n - 2)d, a + (n -  1)d The sum of all t

Percents, If 2/3 of a number is 24 then 1/4 of a number is...

If 2/3 of a number is 24 then 1/4 of a number is...

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