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

Mensuration, a hollow cone is cut by a plane parallel to the base and the u...

a hollow cone is cut by a plane parallel to the base and the upper portion is removed. if the volume of the frustum obtained is 26/27 of volume of the cone. find at what height abo

Graph and algebraic methods , To answer each question, use the function t(r...

To answer each question, use the function t(r) = d , where t is the time in hours, d is the distance in miles, and r is the rate in miles per hour. a. Sydney drives 10 mi at a c

Simplify the expression, Simplify the following expression and state the co...

Simplify the following expression and state the coefficient of each variables (a)6m-4-2m+15 (b)4x+6y-3x+5y

Determine the determinant of matrix, Example Determinant:   Determine ...

Example Determinant:   Determine the determinant of each of the following matrices. Solution : For the 2 x 2 there isn't much to perform other than to plug this in

Mensuration, if area of a rectangle is 27 sqmtr and it perimeter is 24 m fi...

if area of a rectangle is 27 sqmtr and it perimeter is 24 m find the length and breath#

What is the measure of its width if its length is 3 inches, The perimeter o...

The perimeter of a rectangle is 21 inches. What is the measure of its width if its length is 3 inches greater than its width? Let x = the width of the rectangle. Let x + 3 = th

Fact - undetermined coefficients, Here, let's take a look at sums of the fu...

Here, let's take a look at sums of the fundamental components and/or products of the fundamental components. To do this we'll require the following fact. Fact- Undetermined Co

I am mathematics expert, i want some assignment for earning i am mathemati...

i want some assignment for earning i am mathematics expert plz provide us mathematics assignment as soon as possible

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