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

Proof of various derivative facts formulas properties, PROOF OF VARIOUS DER...

PROOF OF VARIOUS DERIVATIVE FACTS/FORMULAS/PROPERTIES Under this section we are going to prove several of the different derivative facts, formulas or/and properties which we en

Word problem, Twins Olivia and Chelsea and their friend Rylee were celebrat...

Twins Olivia and Chelsea and their friend Rylee were celebrating their fourteenth birthdays with a party at the beach. The first fun activity was water games. As Nicole arrived, sh

Discrete-time signal, Determine the fundamental period of the following dis...

Determine the fundamental period of the following discrete-time signal: X(n) = 2sin(4n)π +π/4) + 5sin16n +4sin (20n +π/3)

Multiplication of binomials, To understand the multiplication of binomials,...

To understand the multiplication of binomials, we should know what is meant by Distributive Law of Multiplication. Suppose that we are to multiply (a + b) and m. We

Example of learning constructing tables versus rote , Maya says thafl for i...

Maya says thafl for instance, to help the children of Class 2 construct the '5 times table', she uses their hands. Each child counts how many fingers on one hand, and then how ma

Test of hypothesis on proportions, Test Of Hypothesis On Proportions It...

Test Of Hypothesis On Proportions It follows a similar method to the one for means except that the standard error utilized in this case: Sp = √(pq/n)  Z score is computed

Two circles c(o, Two circles C(O, r) and C 1 (O 1 , r 1 ) touch each other ...

Two circles C(O, r) and C 1 (O 1 , r 1 ) touch each other at P, externally or internally.  Construction: join OP and O 1 P . Proof : we know that if two circles touch each

Statistics, Calculate the Kendaul''s correlation cofficient for a given dat...

Calculate the Kendaul''s correlation cofficient for a given data.

Give the introduction to ratios and proportions, Give the introduction to R...

Give the introduction to Ratios and Proportions? A ratio represents a comparison between two values. A ratio of two numbers can be expressed in three ways: A ratio of "one t

The mean value theorem with proof, The Mean Value Theorem  Assume f(x)...

The Mean Value Theorem  Assume f(x) is a function that satisfies both of the subsequent. 1.   f(x) is continuous on the closed interval [a,b]. 2.   f(x) is differentiabl

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