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

F distribution or variance ratio distribution, Frequency Distribution or Va...

Frequency Distribution or Variance Ratio Distribution This was developed by R. A Fisher in 1924 and is normally defined in terms of the ratio of the variances of two usually d

An amortization, Ahmad borrowed $450000.00 at 3% compounded semi-annually f...

Ahmad borrowed $450000.00 at 3% compounded semi-annually for ten years to buy an apartment. Equal payments are made at the end of every six months. a) Determine the size of the se

VECTORS, OQRS IS A QUADRILATERAL SUCH THAT OQ= -6,3 OR= -3,7 AND OS= 1,5. T...

OQRS IS A QUADRILATERAL SUCH THAT OQ= -6,3 OR= -3,7 AND OS= 1,5. T IS ON OQ SUCH THAT OT: TQ= 1:2 PROVE THAT QRST IS AA PARALLEGRRAM

Find out the different strategies of multiplications, 1. Give some Class 4 ...

1. Give some Class 4 children around you problems like 15 x 6 to do dentally. Interact with them to find out the different strategies they use for doing it, and note these down.

Algebra, Evaluate: 30 - 12÷3×2 =

Evaluate: 30 - 12÷3×2 =

Relate Fractions and Whole Numbers, Jon ran around a track that was one eig...

Jon ran around a track that was one eighth of a mile long.He ran around the track twenty four times.How many miles did Jon run in all

Cylindrical coordinates - three dimensional space, Cylindrical Coordinates ...

Cylindrical Coordinates - Three Dimensional Space Since with two dimensional space the standard (x, y, z) coordinate system is known as the Cartesian coordinate system.  In the

Triangles, if triangle abc is similar to def and ab/de=3/4 find the ratio a...

if triangle abc is similar to def and ab/de=3/4 find the ratio af their perimeter and area

Example of elps maths learning, Do you agree with the necessity of the sequ...

Do you agree with the necessity of the sequencing E - L - P - S for learning? If not, then what do you suggest as an alternative path for understanding and internalising mathematic

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