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

Example of intersection, Can anybody provide me the solution of the followi...

Can anybody provide me the solution of the following example? You are specified the universal set as T = {1, 2, 3, 4, 5, 6, 7, 8} And the given subjects of the universal s

Algebra, Manuel is a cross-country runner for his school’s team. He jogged ...

Manuel is a cross-country runner for his school’s team. He jogged along the perimeter of a rectangular field at his school. The track is a rectangle that has a length that is 3 tim

Explain the rules of divisibility, Explain the rules of Divisibility ? ...

Explain the rules of Divisibility ? Divisible by 2: If the last digit is a 0, 2, 4, 6, or 8, the number is evenly divisible by 2. Divisible by 2 Not

What could the dimensions of the floor be in terms of x, Harold is tiling a...

Harold is tiling a rectangular kitchen floor with an area that is expressed as x 2 + 6x + 5. What could the dimensions of the floor be in terms of x? Because area of a rectang

Radicals, We'll include this section with the definition of the radical.  I...

We'll include this section with the definition of the radical.  If n is a +ve integer that is greater than one and a is a real number then, Where n is termed as the index,

Some general facts about lines, First, larger the number (ignoring any minu...

First, larger the number (ignoring any minus signs) the steeper the line.  Thus, we can use the slope to tell us something regarding just how steep a line is. Next, if the slope

Example of decimal to fraction conversion, Example of Decimal to Fraction C...

Example of Decimal to Fraction Conversion: Example: Convert 18.82 to a mixed number. Solution: Step 1:            18.82 is 18 and 82 hundredths. 18.82 = 18(8

Decimals, how do you turn a fraction into a decimals

how do you turn a fraction into a decimals

Find the root, (a) Convert z  = - 2 - 2 i to polar form. (b) Find ...

(a) Convert z  = - 2 - 2 i to polar form. (b) Find all the roots of the equation w 3 = - 2 - 2 i . Plot the solutions on an Argand diagram.

Mensuration, In an equilateral triangle 3 coins of radius 1cm each are kept...

In an equilateral triangle 3 coins of radius 1cm each are kept along such that they touch each other and also the side of the triangle. Determine the side and area of the triangle.

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