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

Formulas of surface area - applications of integrals, Formulas of Surface A...

Formulas of Surface Area - Applications of integrals S = ∫ 2Πyds          rotation about x-axis S = ∫ 2Πxds          rotation about y-axis Where, ds = √ 1 + (1+ (dy /

The mean value theorem, The Mean Value Theorem : In this section we will ...

The Mean Value Theorem : In this section we will discuss the Mean Value Theorem.  Before we going through the Mean Value Theorem we have to cover the following theorem. Ro

Determine the angle, In parallelogram ABCD, m∠A = 3x + 10 and m∠D = 2x + 30...

In parallelogram ABCD, m∠A = 3x + 10 and m∠D = 2x + 30, Determine the m∠A. a. 70° b. 40° c. 86° d. 94° d. Adjacent angles in a parallelogram are supplementary. ∠A a

Fact of the wronskian method, Given two functions f(x) and g(x) which are d...

Given two functions f(x) and g(x) which are differentiable on some interval I  (1) If W (f,g) (x 0 ) ≠ 0 for some x 0 in I, so f(x) and g(x) are linearly independent on the int

Illustrate exponential distribution, Q. Illustrate Exponential Distribution...

Q. Illustrate Exponential Distribution? Ans. These are two examples of events that have an exponential distribution: The length of time you wait at a bus stop for the n

Diagonals of a trapezium divide each other proportionally , Diagonals of a ...

Diagonals of a trapezium divide each other proportionally: Given : In trapezium ABCD , AB// DC R.T.P :AO/OC = BO/OD Construction: Draw the line PQ; parallel to AB or C

Home work, can you hepl me with my home i dont understand it!!!

can you hepl me with my home i dont understand it!!!

Least common denominator, Let's recall how do to do this with a rapid numbe...

Let's recall how do to do this with a rapid number example.                                                     5/6 - 3/4 In this case we required a common denominator & reme

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