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

Percents., the cost of paint used in a redecorating job is $65.70 .This is ...

the cost of paint used in a redecorating job is $65.70 .This is a reduction from its original cost of $82.13 .What is the percent decrease in the cost of paint to the nearest perce

Determine the matrix that performs a horizontal compression, (a) Determine ...

(a) Determine the matrix that first rotates a two-dimensional vector 180° anticlockwise, and then per- forms a horizontal compression of the resulting vector by a factor 1/2 (leavi

Daily Math, Six times as many people voted in the 2012 election as in the 2...

Six times as many people voted in the 2012 election as in the 2008 election.If 162 people voted in 2008,how many people voted in both elections?

Operations with rational numbers, larry spends 3/4 hours twice a day walkin...

larry spends 3/4 hours twice a day walking and playing with his dog. He spends 1/6 hours twice a day feeding his dog. how much time does larry spend on his dog each day?

What is the value of x in probability , A bag contains 8 red balls and x bl...

A bag contains 8 red balls and x blue balls, the odd against drawing a blue ball are 2: 5. What is the value of x?                                                               (An

Numerical analysis, Please,I Want to know and study for stability on predi...

Please,I Want to know and study for stability on predictor -corrector for numerical integration method

Cone - three dimensional spaces, Cone - Three dimensional spaces The be...

Cone - Three dimensional spaces The below equation is the general equation of a cone. X 2 / a 2 + y 2 /b 2 = z 2 /c 2 Here is a diagram of a typical cone. Not

Unit circle, Unit circle: The unit circle is one of the most valuable tool...

Unit circle: The unit circle is one of the most valuable tools to come out in trig.  Unluckily, most people don't study it as well. Below is the unit circle with just the first

Properties of logarithms, Properties of Logarithms 1. log a x...

Properties of Logarithms 1. log a xy = log a x + log a y 2.  = log a x - log a y 3. log a x n   = n log

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