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

Evaluate the diameter of the pizza box, If the area of a small size pizza i...

If the area of a small size pizza is 78.5 in 2 , what size pizza box would required for the small pizza? (Note: Pizza boxes are calculated according to the length of one side.)

Example to understanidng of multiplication, 6-year-old Rahul wasn't able to...

6-year-old Rahul wasn't able to understand multiplication when it was thrust upon him in school. His mother discussed this problem with some of us. On the basis of suggestions that

Work Word Problems, Data entry is performed in 2-person teams. Each 2-perso...

Data entry is performed in 2-person teams. Each 2-person team can enter 520 surveys per day. A selection of 7540 surveys must be entered by day''s end. How many total employees, wo

Find out the determinant, Find out the determinant: Find out the deter...

Find out the determinant: Find out the determinant of the following 3 x 3 matrix, expanding about row 1. Solution:

Show that the height of the opposite house, From a window x meters hi...

From a window x meters high above the ground in a street, the angles of elevation and depression of the top and the foot of the other house on the opposite side of the street  are

Mode, how to work out mode

how to work out mode

Product, a product can be anything including physical good,services,places,...

a product can be anything including physical good,services,places,experience,nations,organizations,properties,information.discuss the statement?

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