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

Solve sin (3t ) = 2 trig function, Solve sin (3t ) = 2 . Solution T...

Solve sin (3t ) = 2 . Solution This example is designed to remind you of certain properties about sine and cosine.  Recall that -1 ≤ sin (θ ) ≤ 1 and -1 ≤ cos(θ ) ≤ 1 .  Th

SYSTEMS OF ODE, Problem 1 Let ~x0 = A~x and y 0 = B~y be two 2  2 linear s...

Problem 1 Let ~x0 = A~x and y 0 = B~y be two 2  2 linear systems of ODE. (1) Suppose that A and B have the same purely imaginary eigenvalues. Prove that these systems are topologi

#calculus, Ask question #divergent gradient u vector#

Ask question #divergent gradient u vector#

#i need help on my math homework its on algabraitle.., The question is: If ...

The question is: If 0.2 x n = 1.4,what is the value of n.

Characteristic, mention the characteristic of mathematic

mention the characteristic of mathematic

Circles, If the distances from origin of the centres of 3 circles x 2 +y 2 ...

If the distances from origin of the centres of 3 circles x 2 +y 2 +2alphaix= a 2 (i=1,2,3) are in G.P. , then length of the tangents drawn to them frm any point on the circles x2+

Solve the subsequent quadratic equation, Solve the subsequent quadratic equ...

Solve the subsequent quadratic equation: Solve the subsequent quadratic equation through taking the square roots of both sides. 3x 2 = 100 - x 2 Solution: Step 1

Factor Fiction, Ok this is true or false wit a definition. The GCF of a pai...

Ok this is true or false wit a definition. The GCF of a pair of numbers can never be equal to one of the numbers.

Find all the real solutions to cubic equation, Find all the real solutions ...

Find all the real solutions to cubic equation x^3 + 4x^2 - 10 =0. Use the cubic equation x^3 + 4x^2 - 10 =0 and perform the following call to the bisection method [0, 1, 30] Use

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