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

Add or subtract operations for complex numbers, performs the mentioned oper...

performs the mentioned operation and write the answers in standard form. ( -4 + 7 i ) + (5 -10 i ) Solution Actually there isn't much to do here other than add or subt

Explain adding and subtracting in scientific notation, Explain Adding and S...

Explain Adding and Subtracting in Scientific Notation? To add or subtract numbers in scientific notation, the numbers must be expressed so that they have the same exponent.

Statistic, Suppose that the probability of your favorite baseball player ge...

Suppose that the probability of your favorite baseball player getting a hit at bat is 0.45. Assume that each at bat is independent. What is the probability that he bats eight times

Pattern, 1,5,14,30,55 find the next three numbers and the rule

1,5,14,30,55 find the next three numbers and the rule

How to calculate probability of event, Q. How to calculate Probability of e...

Q. How to calculate Probability of event? Ans. What chance do I have to toss the coin and get a head? You might think 50-50, 50%. What about tossing it 5 times and getting

HELP, a manufacturer is interested in developing a benefit segmentation of ...

a manufacturer is interested in developing a benefit segmentation of the cameramarket.suggest some major benefit segments with market targeting strategies.

Help, dividing decimals

dividing decimals

Trigonometry, In the riangle ABC the AB=12 cm,AC=28 cm and angle ABC=120 de...

In the riangle ABC the AB=12 cm,AC=28 cm and angle ABC=120 degrees.BC=?

Math, a business is owned by three people.the first owns 1/12 of the busine...

a business is owned by three people.the first owns 1/12 of the business and the second owns 1/6 of the business. what fractional part of the business is owned by the third person

The central limit theorem, The Central Limit Theorem  The theories was ...

The Central Limit Theorem  The theories was introduced by De Moivre and according to it; if we choose a large number of simple random samples, says from any population and find

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