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

Simultaneous equations, Before we look at simultaneous equations let ...

Before we look at simultaneous equations let us brush up some of the fundamentals. First, we define what is meant by an equation. It is a statement which indicate

MATLAB, Program of "surface of revolution" in MATLAB

Program of "surface of revolution" in MATLAB

Calculate values of the derivative, First, see that the right hand side of ...

First, see that the right hand side of equation (2) is a polynomial and thus continuous. This implies that this can only change sign if this firstly goes by zero. Therefore, if the

Maths for Social Science, A retired couple has up to $30000 to invest in fi...

A retired couple has up to $30000 to invest in fixed-income securities. Their broker recommends investing in two bonds: one a AAA bond yielding 8%; the other a B+ bond paying 12%.

Work Word Problems, Data entry is performed in 2-person teams. Each 2-perso...

Data entry is performed in 2-person teams. Each 2-person team can enter 520 surveys per day. A selection of 7540 surveys must be entered by day''s end. How many total employees, wo

Math reasoning, The probability that a certain region in mexico will be hit...

The probability that a certain region in mexico will be hit by a hurricane in any given year is .06. What is the probability that the region will be hit by at least one hurricane i

Determine coefficient of traction, Problem 1 Work through TALPAC 10 Bas...

Problem 1 Work through TALPAC 10 Basics (refer to attached handout). Answer the set of questions at the end of tutorial module. Problem 2 Referring to both the haul cyc

Linear programming, Maximize P=3x+2y Subject to ...

Maximize P=3x+2y Subject to x+y =6 x =3 x =0,y =0

Core concepts, what are the core concept of marketing

what are the core concept of marketing

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