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

Find the derivations of functions, Find the derivatives of each of the foll...

Find the derivatives of each of the following functions, and their points of maximization or minimization if possible. a.  TC = 1500 - 100 Q + 2Q 2 b.  ATC = 1500/Q - 100 +

Need some clarity?, THE % PARTICIPATION Feature in a major medical expense ...

THE % PARTICIPATION Feature in a major medical expense policy is 75% with a $100 deductible. how much of a $2,000 bill is the insured responsible for paying?

Lesson 3.5 skills practice, Noah is renewing a magazine subscription. one p...

Noah is renewing a magazine subscription. one package offers to renew the magazine for 3 years for 26$. A second package offers to renew the magazine for 5 years for $38

Continuous uniform distribution, Continuous Uniform Distribution Consid...

Continuous Uniform Distribution Consider the interest earned on a bank deposit. Let X equal the value after the decimal point. (Assume no rounding off to the nearest paise.) Fo

Standard normal distribution, Q. Describe Standard Normal Distribution? ...

Q. Describe Standard Normal Distribution? Ans. The Standard Normal Distribution has a mean of 0 and a standard deviation of 1. The letter Z is often used to refer to a sta

Find the ways to choose a president and a secretary, Q. There are 10 studen...

Q. There are 10 students on the school debating team. How many different ways can the team choose a president and a secretary? Ans. There are 10 choices for the president

Permutations and combinations, number of ways that a mixed doubles tennis g...

number of ways that a mixed doubles tennis game can be arranged from 7 couples if no husband and wife play in the same game is??

Find the area enclosed between two concentric circles, Find the area enclos...

Find the area enclosed between two concentric circles of radii 3.5cm, 7cm. A third  concentric circle is drawn outside the 7cm circle so that the area enclosed between it and the 7

Operation research, approximate the following problem as a mixed integer pr...

approximate the following problem as a mixed integer program. maximize z=e-x1+x1+(x2+1)2 subject to x12+x2 =0

Value of the game-game theory, Value Of The Game The game value refers ...

Value Of The Game The game value refers to the average pay off per play of the game over an extended period of time

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