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

What is the percent of increase heating oil, The price of heating oil rose ...

The price of heating oil rose from $1.10 per gallon to $1.43 per gallon. What is the percent of increase? The price of heating oil rose $0.33 ($1.43 - $1.10 = $0.33). To ?nd ou

Circles, Two tangents TP and TQ are drawn to a circle with center O from an...

Two tangents TP and TQ are drawn to a circle with center O from an external point T.prove that angle PTQ=angle 2 OPQ

Normal Distribution, You don''t have to give me the answer. I just want to ...

You don''t have to give me the answer. I just want to know HOW to do it. In a set of 400 ACT scores where the mean is 22 and the standard deviation is 4.5, how many scores are ex

Definition of natural exponential function, Definition of Natural exponenti...

Definition of Natural exponential function:   The natural exponential function is f( x ) = e x   where, e= 2.71828182845905........ . Hence, since e > 1 we also know that e x

Equations with finding principals, I need help solving principal equations ...

I need help solving principal equations where interest,rate,and time are given.

The expected monetary value method, The expected monetary value method ...

The expected monetary value method The expected pay off as profit associated with a described combination of act and event is acquired by multiplying the pay off for that act a

Stat, defination of uper boundarie .

defination of uper boundarie .

Integration, sketch the curve y=9-x2 stating the coordinates of the turning...

sketch the curve y=9-x2 stating the coordinates of the turning point and of the intersections with the axes.

Geometry, what is sin, cos, and tan?

what is sin, cos, and tan?

Chain rule, Chain Rule :   If f(x) and g(x) are both differentiable func...

Chain Rule :   If f(x) and g(x) are both differentiable functions and we describe F(x) = (f. g)(x) so the derivative of F(x) is F′(x) = f ′(g(x)) g′(x).  Proof We will s

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