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

Tangents, case 2:when center is not known proof

case 2:when center is not known proof

Parallelogram, The base and corresponding altitude of a parallelogram are 1...

The base and corresponding altitude of a parallelogram are 10 cm and 12 cm reap. If the other altitude is 8 cm , find the length of the other pair of parallel side

Factor, 27-125 a power -135a +225a power2

27-125 a power -135a +225a power2

Differentiate the equation x = x (t ) and y = y (t ) , Suppose that x = x (...

Suppose that x = x (t ) and y = y (t ) and differentiate the following equation with respect to t. Solution                                         x 3 y 6 + e 1- x - cos (5

The expected monetary value method, The expected monetary value method ...

The expected monetary value method The expected pay off as profit associated with a described combination of act and event is acquired by multiplying the pay off for that act a

Differentiation formulas, Differentiation Formulas : We will begin this s...

Differentiation Formulas : We will begin this section with some basic properties and formulas.  We will give the properties & formulas in this section in both "prime" notation &

Life mathametics, 20% of the total quantity of oil is 40 litres find the to...

20% of the total quantity of oil is 40 litres find the total quantity of oil in litres

Pigeonhole principle, By pigeonhole principle, show that if any five number...

By pigeonhole principle, show that if any five numbers from 1 to 8 are chosen, then two of them will add upto 9.    Answer: Let make four groups of two numbers from 1 to 8 like

Solve 4 sin 2 ( t ) - 3 sin ( t /3)= 1, Solve 4 sin 2 ( t ) - 3 sin ( t /...

Solve 4 sin 2 ( t ) - 3 sin ( t /3)= 1 . Solution Before solving this equation let's solve clearly unrelated equation. 4x 2 - 3x = 1  ⇒ 4x 2 - 3x -1 = ( 4x + 1) ( x

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