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

Extended product rule, Extended product rule : As a last topic let's note ...

Extended product rule : As a last topic let's note that the product rule can be extended to more than two functions, for instance.  ( f g h )′ = f ′ gh + f g ′ h+ f g h′ ( f

Example for pre-operational stage learning maths, E1) I have a three-year-o...

E1) I have a three-year-old friend. He has a lot of toy cars to play with. Playing with him once, I divided the cars into two sets. One set was more spread out and had 14 cars in i

Number of permutations of ''n'' dissimilar things , Finding the numbe...

Finding the number of Permutations of 'n' dissimilar things taken 'r' at a time:  After looking at the definition of permutations, we look at how to evolve a

Geometry, what shapes can go into a triangular prism

what shapes can go into a triangular prism

What are factors, What are Factors? When you multiply several numbers t...

What are Factors? When you multiply several numbers together, (4 x 5 x 3), the numbers (4, 5, and 3) being multiplied are called factors. The result of the multiplying th

Find poq of tangents drawn to the circle, In figure, O is the centre of th...

In figure, O is the centre of the Circle .AP and AQ two tangents drawn to the circle. B is a point on the tangent QA and ∠ PAB = 125 ° , Find ∠ POQ. (Ans: 125 o ) An s:

Bcubi bui, hellow my name is isa soo what is your name?? i love the name ex...

hellow my name is isa soo what is your name?? i love the name experts mind so what is 8000+98800+600+935=what i do not know so can you tell me thank you oh thir is another one wha

Find the perimeter and the area of the shaded portion, The given figure con...

The given figure consists of four small semicircles and two big semicircles.  If the smaller semicircles are equal in radii and the bigger semicircles are also equal in radii, find

Addition, #questiowhat is 1+1n..

#questiowhat is 1+1n..

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