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

Concepts, what are core concepts of marketing?

what are core concepts of marketing?

Homotopy, prove same homotopy type is an equivalent relation

prove same homotopy type is an equivalent relation

Spherical coordinates - three dimensional space, Spherical Coordinates - Th...

Spherical Coordinates - Three Dimensional Space In this part we will introduce spherical coordinates. Spherical coordinates which can take a little getting employed to.  It's

Calculate the area of rectangle , Calculate the area of RECTANGLE ? Th...

Calculate the area of RECTANGLE ? The area of a rectangle is the amount of space taken up by a rectangle, which is a two-dimensional shape. You find the area (A) of a recta

Find x if one ball is drawn at random from the box, A box contains 12 balls...

A box contains 12 balls out of which x are black .if one ball is drawn at random from the box  what is the probability that it will be a black ball ? If 6 more black balls are   pu

Word problem, adison earned $25 mowing her neighbor''s lawn. then she loane...

adison earned $25 mowing her neighbor''s lawn. then she loaned her friend $18, and got $50 from her grandmother for her birthday. she now has $86. how much money did adison have to

Evaluate the volume and surface area of a rectangular solid, Evaluate the v...

Evaluate the volume and surface area of a rectangular solid: Calculate the volume & surface area of a rectangular solid along with a =   3", b = 4", & c = 5".  Solution:

Logic, INSTRUCTIONS: Construct a regular proof to derive the conclusion of ...

INSTRUCTIONS: Construct a regular proof to derive the conclusion of the following argument: 1. H v (~T > R) 2. Hv (E > F) 3. ~T v E 4. ~H & D / R v F INSTRUCTIONS: Con

Diffrence between integers and rational numbers, Q. Give basic Diffrence be...

Q. Give basic Diffrence between Integers and Rational Numbers? Ans. Integers The integers are positive and negative whole numbers. The integers are closed under ad

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