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

Numerical method, find the newton raphson iterative formula for a reciproca...

find the newton raphson iterative formula for a reciprocal of a number N and hence find the value of 1/23

Find out the length of hamiltonian path, Find out the length of Hamiltonian...

Find out the length of Hamiltonian Path in a connected graph of n vertices. Ans: The length of Hamiltonian Path in a connected graph of n vertices is n-1.

Ratio test - sequences and series, Ratio Test In this part we are goin...

Ratio Test In this part we are going to take a look at a test that we can make use to see if a series is absolutely convergent or not.  Remind that if a series is absolutely c

Developing an understanidng of multiplication, DEVELOPING AN UNDERSTANIDNG ...

DEVELOPING AN UNDERSTANIDNG OF MULTIPLICATION :  The most important aspect of knowing multiplication is to understand what it means and where it is applied. It needs to be first i

What is the smallest possible number 3, What is the smallest possible numbe...

What is the smallest possible number in which can be created along with four decimal places using the numbers 3, 5, 6, and 8? Place the smallest number in the largest place val

Triangle and its properties, in a triangle angle a is 70 and angle b is 50 ...

in a triangle angle a is 70 and angle b is 50 what is angle c.

Normal distribution to approximate binomial distribution, Survey 83% of com...

Survey 83% of community for a park. Randomly select 21 people if they do or do not want a park. Can you use normal distribution to approximate binomial distribution?If so find mean

Differential equations, verify liouville''s theorem for y''''''-y''''-y''+...

verify liouville''s theorem for y''''''-y''''-y''+y=0

Matrices, (e) Solve the following system of equations by using Matrix meth...

(e) Solve the following system of equations by using Matrix method. 3x + 2y + 2z = 11 x + 4y + 4z = 17 6x + 2y + 6z = 22

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