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

Registration, Iam register on your website but dont have any reply by this ...

Iam register on your website but dont have any reply by this website and no assignment.

Commercial arithmetic, if oranges are bought at the rate of 11 for rupees ...

if oranges are bought at the rate of 11 for rupees 10 and are sold at the rate of 10 for rupees 11, find the profit percent

Hundreths., round to the nearest hundreths 1677.76

round to the nearest hundreths 1677.76

Pre Calculus, 5 2 ----- - ----- x-1 x+1 ------------------...

5 2 ----- - ----- x-1 x+1 -------------------- x 1 ----- + ----- x-1 x+1

Vertical tangent for parametric equations, Vertical Tangent for Parametric ...

Vertical Tangent for Parametric Equations Vertical tangents will take place where the derivative is not defined and thus we'll get vertical tangents at values of t for that we

What is number systems, NUMBER SYSTEMS: Numbers  are intellectual  witne...

NUMBER SYSTEMS: Numbers  are intellectual  witnesses  that belong  only  to  mankind. Example: If the H C F of 657 and 963 is expressible in the form of 657x + 963 x -

Variation, If p=10 when q=2,find p when q=5

If p=10 when q=2,find p when q=5

Who had the highest batting average, Mike, Dan, Ed, and Sy played together ...

Mike, Dan, Ed, and Sy played together on a baseball team. Mike's batting average was 0.349, Dan's was 0.2, Ed's was 0.35, and Sy's was 0.299. Who had the highest batting average?

Tied rankings, Tied Rankings A slight adjustment to the formula is mad...

Tied Rankings A slight adjustment to the formula is made if several students tie and have the similar ranking the adjustment is: (t 3 - t)/12 Whereas t = number of tied

Relations, Suppose A and B be two non-empty sets then every subset of A Χ B...

Suppose A and B be two non-empty sets then every subset of A Χ B describes a relation from A to B and each relation from A to B is subset of AΧB. Normal 0 fals

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