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

Logics Puzzle, It’s been a busy weekend for Larry. Five people in his neigh...

It’s been a busy weekend for Larry. Five people in his neighborhood left on vacation Saturday morning and each of them left a pet for Larry to care for until they return. It’s a go

Circles, Two tangents TP and TQ are drawn to a circle with center O from an...

Two tangents TP and TQ are drawn to a circle with center O from an external point T.prove that angle PTQ=angle 2 OPQ

Mashed patatos, I have 6 cups of patatos that I have to share with 13 frien...

I have 6 cups of patatos that I have to share with 13 friends write that as the nearest hundredth

Trigonometry, If a+b+c = 3a , then cotB/2 cotC/2 is equal to

If a+b+c = 3a , then cotB/2 cotC/2 is equal to

Solid, The lateral edge of a pyramidal church spire is 61feet.Each side of ...

The lateral edge of a pyramidal church spire is 61feet.Each side of its octagonal base is 22feet. What will be the cost of painting the spire at 2.5 cents a square foot

Marketing management , Draw the typical profile(s) of Shoppers'' Stop custo...

Draw the typical profile(s) of Shoppers'' Stop customers segments.

Solve:, A Cleaning solution has 40% vinegar. Find the amount of vinegar in ...

A Cleaning solution has 40% vinegar. Find the amount of vinegar in 32 ounces of the solution>

Determine the number of blue balls in the bag, A bag contains 5 red balls a...

A bag contains 5 red balls and some blue balls. If the probability of drawing a blue ball is double that of a red ball , determine the number of blue balls in the bag.

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