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

Comparison test or limit comparison test, Comparison Test or Limit Comparis...

Comparison Test or Limit Comparison Test In the preceding section we saw how to relate a series to an improper integral to find out the convergence of a series.  When the inte

determine that the relation is symmetric and transitive, 1. Let R and S be...

1. Let R and S be relations on a set A. For each statement, conclude whether it is true or false. In each case, provide a proof or a counterexample, whichever applies. (a) If R

Please solve this question, The number of integral pairs (x,y) satisfying t...

The number of integral pairs (x,y) satisfying the equation x^2=y^2+1294 is a)2 b)3 c)4 d)None of these

Cross product - vector, Cross Product In this last section we will loo...

Cross Product In this last section we will look at the cross product of two vectors.  We must note that the cross product needs both of the vectors to be three dimensional (3D

Matrix, find the value of x for which [1 0] [0 x-8]

find the value of x for which [1 0] [0 x-8]

Which of the subsequent represents the cost y of phone call, A telephone co...

A telephone company charges $.35 for the first minute of a phone call and $.15 for each additional minute of the call. Which of the subsequent represents the cost y of a phone call

Types of sets, NULL/ VOID/ EMPTY SET A set which has no element is know...

NULL/ VOID/ EMPTY SET A set which has no element is known as the null set or empty set and is indicated by f (phi). The number of elements of a set A is indicated as n (A) and

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