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

Explain peano''s axioms with suitable example, Question 1 Explain Peano's ...

Question 1 Explain Peano's Axioms with suitable example Question 2 Let A = B = C= R, and let f: A→ B, g: B→ C be defined by f(a) = a+1 and g(b) = b 2 +1. Find a) (f °g

Travel time, you are driving on a freeway to a tour that is 500 kilometers ...

you are driving on a freeway to a tour that is 500 kilometers from your home. after 30 minutes , you pass a freeway exit that you know is 50 kilometer from your home. assuming that

Vector, with t =[a b c] construct a matrix A = 1 1 1 ...

with t =[a b c] construct a matrix A = 1 1 1 a b c a^2 b^2 c^2 a^3 b^3 c^3 using vector operations

Find the total volume of the hay stack, The lower portion of a hay stack is...

The lower portion of a hay stack is an inverted cone frustum and the upper part is a cone find the total volume of the hay stack.

College Algebra, Find the center and radius of the circle whose equation is...

Find the center and radius of the circle whose equation is 3 x^2 - 8 x+ 3 y^2+ 4 y+ 2 = 0

Basic differential equation, Two 1000 liter tanks are containing salt water...

Two 1000 liter tanks are containing salt water. Tank 1 has 800 liters of water initially having 20 grams of salt dissolved in this and tank 2 has 1000 liters of water and initially

Find interval of function, Find interval for which the function f(x)=xe x(1...

Find interval for which the function f(x)=xe x(1-x)   is increasing or decreasing function

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