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 following exponentials limit, Evaluate following limits. ...

Evaluate following limits. Solution: Let's begin this one off in the similar manner as the first part. Let's take the limit of each piece. This time note that since our l

Sum and difference identities, Q. Sum and Difference Identities? Ans. ...

Q. Sum and Difference Identities? Ans. These six sum and difference identities express trigonometric functions of (u ± v) as functions of u and v alone.

The shortest distance among the line y-x=1 and curve x=y^2, Any point on pa...

Any point on parabola, (k 2 ,k) Perpendicular distance formula: D=(k-k 2 -1)/2 1/2 Differentiating and putting =0 1-2k=0 k=1/2 Therefore the point is (1/4, 1/2) D=3/(32 1/2

.fractions, what is the difference between North America''s part of the tot...

what is the difference between North America''s part of the total population and Africa''s part

Stats, Instructions: 1. Write the null and alternative hypotheses. ...

Instructions: 1. Write the null and alternative hypotheses. 2. Calculate the test statistic. 3. Determine the critical value whether or not there has been an improv

Without a calculator give the exact value, without a calculator give the ex...

without a calculator give the exact value of each of the following logarithms. (a) (b) log1000 (c) log 16 16 (d) log 23 1  (e)  Solution (b) log10

Congruences, Suppose m be a positive integer, then the two integer a and b ...

Suppose m be a positive integer, then the two integer a and b called congurent modulo m ' if a - b is divisible by m i.e.  a - b = m where is an positive integer. The congru

Determinant, The subsequent topic that we require to take a look at is the ...

The subsequent topic that we require to take a look at is the determinant of a matrix. The determinant is in fact a function that gets a square matrix and converts this in a number

Algebraic models, Establish appropriate algebraic models for each of the fo...

Establish appropriate algebraic models for each of the following sets of data. You can use technology to assist. Plot them on grids and demonstrate how you have established each mo

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