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

Draw the direction field, Draw the direction field for the subsequent diffe...

Draw the direction field for the subsequent differential equation. Draw the set of integral curves for this differential equation.   Solution:  y′ = y - x  To draw direct

Give introduction to pythagorean theorem, Give Introduction to Pythagorean ...

Give Introduction to Pythagorean Theorem ? The Pythagorean Theorem says that for any right triangle: a 2 + b 2 = c 2 , where c is the hypotenuse, and a and b are the legs. T

How far off shore is the sinking ship, A sinking ship signals to the shore ...

A sinking ship signals to the shore for assistance. Three individuals spot the signal from shore. The ?rst individual is directly perpendicular to the sinking ship and 20 meters in

Circles - common polar coordinate graphs, Circles - Common Polar Coordinate...

Circles - Common Polar Coordinate Graphs Let us come across at the equations of circles in polar coordinates. 1. r = a . This equation is saying that there is no matter

Triangles, ABC is a triangle right angled at c. let BC=a, CA=b, AB=c and lr...

ABC is a triangle right angled at c. let BC=a, CA=b, AB=c and lrt p be the length of the perpendicular from C on AB. prove that cp=ab and 1/p2=1/a2+1/b2

Nine minus five times a number, Nine minus five times a number, x, is no le...

Nine minus five times a number, x, is no less than 39. Which of the subsequent expressions represents all the possible values of the number? Translate the sentence, "Nine minus

Trigonometry, 1-tan^2 A/1+tan^2 = cos A - sinA/cos A

1-tan^2 A/1+tan^2 = cos A - sinA/cos A

Dividing whole numbers, Dividing Whole Numbers: Example: Divide 3...

Dividing Whole Numbers: Example: Divide 347 by 5. Solution:                      Beginning from the left of the dividend, the divisor is divided into the

A graph with a positive slope, A graph with a positive slope shows that the...

A graph with a positive slope shows that the variables depicted on the axes goes in the similar directions.

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