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

Managment Science, Classify models based on the degree of their abstraction...

Classify models based on the degree of their abstraction, and provide some examples of such models.

Coefficient of correlation denoted, Coefficient of Correlation Denoted ...

Coefficient of Correlation Denoted There are two methods which measure the degree of correlation among two variables these are denoted by R and r. (a) Coefficient of correl

Determine a trigonometric function, At rest, the human heart beats once eve...

At rest, the human heart beats once every second. At the strongest part of the beat, a person's blood pressure peaks at 120mmHg. At the most relaxed part of the beat, a person's bl

Trignometry, Sin3x ? Solution) THE FORMULA IS RIGHT ,SO sin3x=3sin...

Sin3x ? Solution) THE FORMULA IS RIGHT ,SO sin3x=3sinx-4sin 3 x

g ( x ) = 3sec ( x ) -10 cot ( x ) -differentiate , Differentiate followin...

Differentiate following functions.                   g ( x ) = 3sec ( x ) -10 cot ( x ) Solution : There actually isn't a whole lot to this problem.  We'll just differentia

Confidence interval, Confidence Interval The interval estimate or a 'co...

Confidence Interval The interval estimate or a 'confidence interval' consists of a range as an upper confidence limit and lower confidence limit whether we are confident that a

Center of mass - applications of integrals, Center of Mass - Applications o...

Center of Mass - Applications of integrals In this part we are going to find out the center of mass or centroid of a thin plate along with uniform density ρ. The center of mass

Calculate the edges in an undirected graph, Calculate the edges in an undir...

Calculate the edges in an undirected graph along with two vertices of degree 7, four vertices of degree 5, and the remaining four vertices of degree are 6? Ans: Total degree of

Cirlce Division, How can i calculate arc length for dividing a circle into ...

How can i calculate arc length for dividing a circle into 10 parts

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