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

Age problem, three years ago,Rica was thrice as old as dandy.Three years he...

three years ago,Rica was thrice as old as dandy.Three years hence,she will be twice as old.Find their present.

Simplify the boolean function, Simplify the Boolean function: F...

Simplify the Boolean function: F (w,x,y,z) = ∑ (0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 14)  (8)  Ans:   f(w, x, y, z) = ∑(0, 1, 2, 3, 4, 6, 8, 9, 12, 13, 14) The above

Trigonmetry, How do I find a bearring using trig?

How do I find a bearring using trig?

How would the society be strengthened, All things considered, in a sense of...

All things considered, in a sense of ethnicity (a sense of identification with and loyalty to one's group) good or bad? is it harmful or helpful? What would be lost if Americans lo

Distance and Section Formulae, find the coordinates of points of tri-sectio...

find the coordinates of points of tri-section of the line joining the points (-3,0) and (6,6).

Average function value, Average Function Value The average value of a ...

Average Function Value The average value of a function f(x) over the interval [a,b] is specified by, f avg = (1/b-a) a ∫ b f(x) dx Proof We know that the average

Counters and registers, design a synchronous, recycling, MOD-12 counter wit...

design a synchronous, recycling, MOD-12 counter with D FF''s. Use the states 0000 through 1011 in the counter.

Decomposing polygons to find area, find the area of this figure in square m...

find the area of this figure in square millimeter measure each segment to the nearest millmeter

Trigonometry, A 25 foot ladder just reaches the top of a house and forms an...

A 25 foot ladder just reaches the top of a house and forms an angle of 41.5 degrees with the wall of the house. How tall is the house?

I NEED HELP WITH A MATH PROJECT., HOW MUCH WILL A NEW CAR COST? THE AVERAGE...

HOW MUCH WILL A NEW CAR COST? THE AVERAGE COST OF A NEW CAR IN 1990 WAS $14371. IN 2003 THE AVERAGE COST HAD RISEN TO $22360. WHAT IS THE AMOUNT OF THE MONTHLY PAYMENT? THE AMOUNT

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