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

Craig D, i need help in discrete mathematics on sets, relations, and functi...

i need help in discrete mathematics on sets, relations, and functions.

Indices, what are the advantages and disadvantages of both Laspeyres and Pa...

what are the advantages and disadvantages of both Laspeyres and Paasche index

Problem solving, Let E; F be 2 points in the plane, EF has length 1, and le...

Let E; F be 2 points in the plane, EF has length 1, and let N be a continuous curve from E to F. A chord of N is a straight line joining 2 points on N. Prove if 0 and N has no cho

Lattice or complement lattice, Let  be the set of all divisors of n. Constr...

Let  be the set of all divisors of n. Construct a Hasse diagram for D15, D20,D30. Check whether it is a lattice Or Complement lattice.

Commercial maths, if 500kg of food lasts 40 days for 30 men.how many men wi...

if 500kg of food lasts 40 days for 30 men.how many men will consume 675kg of food in 45 days.

Rejection and acceptance regions, Rejection and Acceptance regions All ...

Rejection and Acceptance regions All possible values which a test statistic may either suppose consistency along with the null hypothesis as acceptance region or lead to the re

Find the slope of a line given two points on it, Finding the Slope of a Lin...

Finding the Slope of a Line, Given Two Points on it ? Find the slope of the line passing through the pairs of points (-5, -2) and (2, 4). One way to find the slope is

Comparison test - sequences and series, Comparison Test Assume that we...

Comparison Test Assume that we have two types of series ∑a n and ∑b n with a n , b n ≥ 0 for all n and a n ≤ b n for all n.  Then, A.  If ∑b n is convergent then t

Fenrir chain, Fenrir the wolf is bound by a magical chain. The chain is an ...

Fenrir the wolf is bound by a magical chain. The chain is an endless piece madr up of 30 links.Originally forged by 6 pieces , each made up of 5 links. It costs 2 silver coins to c

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