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

Game theory, Game Theory It is used to find out the optimum strategy in...

Game Theory It is used to find out the optimum strategy in a competitive condition,While two or more competitors are engaged in making decisions, this may occupy conflict of in

Stratified sampling, Stratified sampling In stratified sampling case t...

Stratified sampling In stratified sampling case the population is divided into groups in such a way that units in each group are as same as possible in a process called strati

Quick help for exam preparation, can you help me with entrance exam for uni...

can you help me with entrance exam for university ? i really need help so quick

Five shirts and one tie cost $20 what price of one shirt, Three shirts and ...

Three shirts and five ties cost $23. Five shirts and one tie cost $20. What is the price of one shirt? Let x = the cost of one shirt. Let y = the cost of one tie. The ?rst part

Critical points, Critical Point Definition : We say that x = c is a critic...

Critical Point Definition : We say that x = c is a critical point of function f(x) if f (c) exists & if either of the given are true. f ′ (c ) = 0        OR             f ′ (c

Using substitution solving polynomial equations, Using Substitution Solving...

Using Substitution Solving Polynomial Equations ? Solve : (x 3 + 4) 2 - 15 (x 3 + 4) + 36 = 0. You might be tempted to multiply everything out and factor. However, there

Properties of exponential form, Properties 1.   The domain of the logar...

Properties 1.   The domain of the logarithm function is (0, ∞ ) .  In other terms, we can just plug positive numbers into a logarithm! We can't plug in zero or a negative numbe

6th grade, what is the length of a line segment with endpoints (-3,2) and (...

what is the length of a line segment with endpoints (-3,2) and (7,2)?

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