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

Solid mensuration, The two sides of a triangle are 17 cm and 28 cm long, an...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

.gradient, Draw the graph of y=x^2-4x from x=-1 to x=5.use the scale of 2cm...

Draw the graph of y=x^2-4x from x=-1 to x=5.use the scale of 2cm on the x axis and 1cm on the y axis.Estimate the gradient at point:x=4, x=2 and x=0

Forced - damped vibrations, It is the full blown case where we consider eve...

It is the full blown case where we consider every final possible force which can act on the system. The differential equation in this case, Mu'' + γu'  + ku = F( t) The displ

Correlation, How o make vicariate frequency distribution table

How o make vicariate frequency distribution table

Word problems, A baseball card was worth $5.00 in 1940. It doubled in value...

A baseball card was worth $5.00 in 1940. It doubled in value every decade. How much was it worth in 2000?

Determine y' for xy = 1 by implicit differentiation, Determine y′ for xy = ...

Determine y′ for xy = 1 . Solution : There are in fact two solution methods for this problem. Solution 1: It is the simple way of doing the problem.  Just solve for y to

Modeling , A plastic manufacturer has 1200 boxes of transparent wrap in sto...

A plastic manufacturer has 1200 boxes of transparent wrap in stock at one factory and 1000 boxes at his second factory.The manufacturer has order for this product from 3 different

Quartic polynomial, Question: Let f be a quartic polynomial (ie. a poly...

Question: Let f be a quartic polynomial (ie. a polynomial of degree 4). Suppose that f has zeros at -2; 1; 3; 4 and that f(0) = 4. Sketch a graph of f. If f(x) is

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