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

Integration variable, Integration variable : The next topic which we have ...

Integration variable : The next topic which we have to discuss here is the integration variable utilized in the integral. In fact there isn't actually a lot to discuss here other

#title., I need to follow the pattern .125,.25,.375,.5, ?

I need to follow the pattern .125,.25,.375,.5, ?

Calculus, how to find the volume

how to find the volume

Vectors, The angles between three non-zero and non coplanar vectors a,b and...

The angles between three non-zero and non coplanar vectors a,b and c are α between b and c and β between c and a and γ between a and b. The vector u and v are defined by u=(aX

Classical probability, Classical Probability Consider the experiment o...

Classical Probability Consider the experiment of tossing a single coin. Two outcomes are possible, viz. obtaining a head or obtaining a tail. The probability that it is a tail

Integers, The set of whole numbers also does not satisfy all our requ...

The set of whole numbers also does not satisfy all our requirements as on observation, we find that it does not include negative numbers like -2, -7 and so on. To

Find the ratio of line segment, Find the ratio in which the line segment jo...

Find the ratio in which the line segment joining A(6,5) and B(4,-3) is divided by the line y=2           (Ans:3:5) Ans :   Let the ratio be k:1 x = 4 k + 6/ k +1 y

Marketing orientation, what marketing orientation is kelloggs influenced by...

what marketing orientation is kelloggs influenced by?why do you think kelloggs use this approach?

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