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

A card is drawn from a well shuffled deck of cards, A card is drawn from a ...

A card is drawn from a well shuffled deck of cards (i) What are the odds in favour of getting spade? (Ans: 1:3, 3:1, 3:10, 1:25) (ii)  What are the odds against getting a spa

Find out a if f(x) is continuous at x = -2 , Example   Given the graph of ...

Example   Given the graph of f(x), illustrated below, find out if f(x) is continuous at x = -2 , x = 0 , and x = 3 . Solution To give answer of the question for each

Determine how maximum revenue with transportation model, The government is...

The government is auctioning off oil leases at two sites. At each site, 100,000 acres of land are to be auctioned. Cliff Ewing, Blake Barnes and Alexis Pickens are bidding for the

Math, i need help in math

i need help in math

Find the area enclosed between two concentric circles, Find the area enclos...

Find the area enclosed between two concentric circles of radii 3.5cm, 7cm. A third  concentric circle is drawn outside the 7cm circle so that the area enclosed between it and the 7

How many times must he mow across the width of the lawn, Allan has been hir...

Allan has been hired to mow the school soccer field that is 180 ft wide through 330 ft long. If his mower mows strips which are 2 feet huge, how many times must he mow across the w

Karls pearsons co-efficient of correlation, Aim: To test the significan...

Aim: To test the significant relationship between the accounting ratios of operating management and standard ideal ratios. Null Hypothesis(H 0 ) : There is no significa

The distributive law, The Distributive Law :  If you were asked to mentall...

The Distributive Law :  If you were asked to mentally multiply 37 with 9, how would you proceed? 1 would do it as follows - 37 is 30 + 7, 30 x 9 = 270, 7 x 9 = 63, so 270 + 63, th

Pair of straight lines, how to solve the problems? methods to solve the que...

how to solve the problems? methods to solve the question of joint lines

Evaluating functions, Next we have to talk about evaluating functions.  Eva...

Next we have to talk about evaluating functions.  Evaluating a function is in fact nothing more than asking what its value is for particular values of x. Another way of looking at

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