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

Dumpy level, Hi there, I am doing a math assignment at current, however I a...

Hi there, I am doing a math assignment at current, however I am having trouble with a question about dumpy level, and finding whether the slope of the block will be suitable for th

Proof of constant times a function, Proof of Constant Times a Function: ...

Proof of Constant Times a Function: (cf(x))′ = cf ′(x) It is very easy property to prove using the definition given you a recall, we can factor a constant out of a limit. No

An aeroplane is flying , An aeroplane is flying at a specific height of 5 k...

An aeroplane is flying at a specific height of 5 km, and at a velocity of 450 km/hr. A camera on the ground is pointed towards the plane, at an angle θ from the horizontal. As the

Frequency polygon, how to compute the frequncy polygon of the scores?

how to compute the frequncy polygon of the scores?

Order of a differential equation, The order of a differential equation is t...

The order of a differential equation is the huge derivative there in the differential equation. Under the differential equations as listed above in equation (3) is a first order di

Probability, Mike sells on the average 15 newspapers per week (Monday – Fri...

Mike sells on the average 15 newspapers per week (Monday – Friday). Find the probability that 2.1 In a given week he will sell all the newspapers

Write an equation in radius and solve it for radius, X and Y are centers of...

X and Y are centers of circles of radius 9cm and 2cm and XY = 17cm. Z is the centre of a circle of radius 4 cm, which touches the above circles externally.  Given that XZY=90 o , w

How many baseball cards does peter now have, Peter purchased 14 latest base...

Peter purchased 14 latest baseball cards for his collection. This increased the size of his collection through 35%. How many baseball cards does Peter now have? First, you must

Advantages of peer interaction in learning maths, Can you think of some mor...

Can you think of some more advantages of peer interaction and child-to child learning? If you agree that children learn a lot from each other, then how can we maximise such oppo

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