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

Calculate the amplitude of trigonometry function, Consider the trigonometri...

Consider the trigonometric function f(t) = -3 + 4 cos(Π/ 3 (t - 3/2 )). (a) What is the amplitude of f (t)? (b) What is the period of f(t)? (c) What are the maximum and mi

Size of the penumbra, With reference to Fig. 1(a) show that the magnificati...

With reference to Fig. 1(a) show that the magnification of an object is given by M=SID/SOD. With reference to Fig. 1(b) show that the size of the penumbra (blur) f is given by f

Solution of rectilinear figures, A tower and a monument stand on a level pl...

A tower and a monument stand on a level plane. the angles of depression on top and bottom of the monument viewed from the top of the tower are 13 degrees and 31 degrees, respective

Probability questions, The probability that a person will get an electric c...

The probability that a person will get an electric contract is 2/5 and the contract that he will not get plumbing  contract is 4/7.If the probability of getting at least one contra

How many miles required to be driven for both services cost, Easy Rider tax...

Easy Rider taxi service charges a pick-up fee of $2 and $1.25 for each mile. Luxury Limo taxi service charges a pick-up fee of $3.25 and $1 per mile. How many miles required to be

Square of a number added to 25 equals 10 times the number, The square of a ...

The square of a number added to 25 equals 10 times the number. What is the number? Let x = the number.  The statement, "The square of a number added to 25 equals 10 times the n

Differentiate functions f ( x ) = 15x100 - 3x12 + 5x - 46, Differentiate f...

Differentiate following functions. (a) f ( x ) = 15x 100 - 3x 12 + 5x - 46 (b) h ( x ) = x π   - x √2  Solution (a)    f ( x ) = 15x 100 - 3x 12 + 5x - 46 I

Math on a spot, compare: 643,251: 633,512: 633,893. The answer is 633,512.

compare: 643,251: 633,512: 633,893. The answer is 633,512.

Two consecutive positive integers whose product is 90, What is the lesser o...

What is the lesser of two consecutive positive integers whose product is 90? Let x = the lesser integer and let x + 1 = the greater integer. Because product is a key word for m

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