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

Introduction to why learn mathematics, INTRODUCTION : All of us have encou...

INTRODUCTION : All of us have encountered mathematics while growing up. Some of us have grown to like it, and therefore, enjoy. doing it. Some others have developed a lukewarm rel

Horizontal asymptotes, Horizontal asymptotes : Such as we can have vert...

Horizontal asymptotes : Such as we can have vertical asymptotes defined in terms of limits we can also have horizontal asymptotes explained in terms of limits. Definition

Data editing, how to remove wild points in a data set...

how to remove wild points in a data set...

Help me help me!, A 65 ohm resistor is connected to a power supply , a curr...

A 65 ohm resistor is connected to a power supply , a current of 2.4 amperes is drawn. what is the output voltage?

Dividing whole numbers, Dividing Whole Numbers: Example: Divide 3...

Dividing Whole Numbers: Example: Divide 347 by 5. Solution:                      Beginning from the left of the dividend, the divisor is divided into the

Rectilinear figure, In a parallelogram ABCD AB=20cm and AD=12cm.The bisecto...

In a parallelogram ABCD AB=20cm and AD=12cm.The bisector of angle A meets DC at E and BC produced at F.Find the length of CF.

Solving algebraic word problems, Solving Algebraic Word Problems: What...

Solving Algebraic Word Problems: What are the capacities of two water storage tanks in a nuclear facility if one holds 9 gallons less than three times another, and their whole

Real numbers on every line, Make a file called "testtan.dat" which has 2 li...

Make a file called "testtan.dat" which has 2 lines, with 3 real numbers on every line (some negative, some positive, in the range from-1 to 3).  The file can be formed from the edi

Solve step by step, Use an appropriate infinite series method about x = 0 t...

Use an appropriate infinite series method about x = 0 to find two solutions of the given differential equation: y''''-xy''-y=0

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