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

Example of word problems involving money, Example of Word Problems Involvin...

Example of Word Problems Involving Money: A collection of coins consists of nickels, dimes & quarters. The number of quarters is double the number of nickels, and the number o

Decimals, 2.46825141458*1456814314.446825558556

2.46825141458*1456814314.446825558556

What is the larger dimension in inches of the frame, Jessica has a picture ...

Jessica has a picture in a frame with a total area of 288 in2. The dimension of the picture without the frame is 12 in through 14 in. What is the larger dimension, in inches, of th

Solve factors for given equations, 1/a+b+x  =1/a+1/b+1/x    a+b ≠ 0 ...

1/a+b+x  =1/a+1/b+1/x    a+b ≠ 0 Ans: 1/a+b+x  =1/a+1/b+1/x => 1/a+b+x -1/x = +1/a +1/b ⇒  x - ( a + b + x )/ x ( a + b + x )   = + a + b/ ab ⇒

Determine the area of the sail, If a triangular sail has a horizontal lengt...

If a triangular sail has a horizontal length of 30 ft and a vertical height of 83 ft , Determine the area of the sail? a. 1,245 ft 2 b. 1,155 ft 2 c. 201 ft 2 d. 2,4

Find and classify all the equilibrium solutions, Find and classify all the ...

Find and classify all the equilibrium solutions to the subsequent differential equation. y' = y 2 - y - 6 Solution First, get the equilibrium solutions. It is generally

How many pages are not advertisements, The first section of a newspaper has...

The first section of a newspaper has 16 pages. Advertisements take up (3)3/8 of the pages. How many pages are not advertisements? Subtract the number of pages of advertisements

Direction fields in newtons law, One of the simplest physical situations to...

One of the simplest physical situations to imagine of is a falling object. Thus let's consider a falling object along with mass m and derive a differential equation as, when resolv

The number of filtering steps, The amount of particulate matter left in sol...

The amount of particulate matter left in solution during a filtering process is given by the equation p(n) = 500(2) -0.8n , where n is the number of filtering steps. Find the amoun

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