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

Solving a quadratic equation, In polynomials you have seen expressi...

In polynomials you have seen expressions of the form x 2 + 3x - 4. Also we know that when an expression is equated to zero or some other expression, we cal

Describe graphing equations with a positive slope, Describe Graphing Equati...

Describe Graphing Equations with a Positive Slope? There are 3 steps to graphing a linear equation: 1. Identify and plot the y-intercept. 2. Determine the slope. Use the slope

Factoring quadratics of the form x2 + bx + c, Factoring quadratics of the f...

Factoring quadratics of the form x 2 + bx + c ? This tutorial will help you factor quadratics that look something like this: x 2 + 7x + 12 (Positive coefficients; no lea

Show frequency tables, Q. Show Frequency Tables? Ans. A frequency ...

Q. Show Frequency Tables? Ans. A frequency table is used to show how often a piece of data occurs. Example: Michelle decides to keep track of the number of phone call

Probability of independent events, Q. Probability of Independent Events? ...

Q. Probability of Independent Events? Ans. Consider these two events:  {My name is Shirley} {The rain is falling} Are these events related to each other?  No.  My name

Percentage of values will fall in the normal group, If the normal range is ...

If the normal range is 65-10 mg/dl, then what percentage of values will fall in the normal group?

Find out the variance and standard deviation, The probability of a rare dis...

The probability of a rare disease striking a described population is 0.003. A sample of 10000 was examined. Determine the expected no. suffering from the disease and thus find out

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