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

Fibonacci number, 1. Suppose n ≡ 7 (mod 8). Show that n ≠ x 2 + y 2 + z 2...

1. Suppose n ≡ 7 (mod 8). Show that n ≠ x 2 + y 2 + z 2 for any x, y, z ε Z. 2. Prove ∀n ε Z, that n is divisible by 9 if and only if the sum of its digits is divisible by 9.

Modulo Arithmetic, What is Modulo Arithmetic and what is an easy way to rem...

What is Modulo Arithmetic and what is an easy way to remember it?

What is slope of a line, What is Slope of a Line ? A line can have a "...

What is Slope of a Line ? A line can have a "steep" slope or a "gradual" slope. slope = rise/run The "rise" is the distance going up or down. The "run" is the distance goin

Applications of rational numbers, Kaylee makes 56 packages in seven hours T...

Kaylee makes 56 packages in seven hours Taylor makes 20% more packages in nine hours who makes more packages per hour

Real analysis, Let {An} be sequence of real numbers. Define a set S by: S={...

Let {An} be sequence of real numbers. Define a set S by: S={i ? N : for all j > i, ai

Define euler circuit and euler path, Define Euler Circuit and Euler Path.  ...

Define Euler Circuit and Euler Path.  Which of the following graphs have an Euler circuit and Euler path.

Evolve a game to help children remember basic multiplication, Evolve a game...

Evolve a game to help children remember basic multiplication facts. In this section we have looked at ways of helping children absorb some simple multiplication facts. But what

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

Determine the height of the washington monument, Determine the height of th...

Determine the height of the Washington Monument to the nearest tenth of a meter. a. 157.8 m b. 169.3 m c. 170.1 m d. 192.2 m c. The height of the monument is the add

Compute the linear convolution, Compute the linear convolution of the discr...

Compute the linear convolution of the discrete-time signal x(n) ={3, 2, 2,1} and the impulse response function of a filter h(n) = {2, 1, 3} using the DFT and the IDFT.

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