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

An amortization, Ahmad borrowed $450000.00 at 3% compounded semi-annually f...

Ahmad borrowed $450000.00 at 3% compounded semi-annually for ten years to buy an apartment. Equal payments are made at the end of every six months. a) Determine the size of the se

Hello, I am here to tell you, Alex has a cold.

I am here to tell you, Alex has a cold.

Take home test, what is 36 percent as a fraction in simplest form

what is 36 percent as a fraction in simplest form

Geometry., solve for y given that 3sin^2 y+cos y-1=0 for 0y360

solve for y given that 3sin^2 y+cos y-1=0 for 0y360

Ratios....., if the ratio of boys to girls ism 3 to 5, then what percent of...

if the ratio of boys to girls ism 3 to 5, then what percent of the students are boys

An aeroplane is flying , An aeroplane is flying at a specific height of 5 k...

An aeroplane is flying at a specific height of 5 km, and at a velocity of 450 km/hr. A camera on the ground is pointed towards the plane, at an angle θ from the horizontal. As the

What is the area covered through the motion of the fan, The arm of a ceilin...

The arm of a ceiling fan measures a length of 25 in. What is the area covered through the motion of the fan blades while turned on? (π = 3.14) The ceiling fan follows a circula

Proper and improper fractions, Proper and Improper Fractions: Exampl...

Proper and Improper Fractions: Example: 3/8 proper fraction 8/3 improper fraction 3/3 improper fraction Here an improper fraction expressed as the sum of an in

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