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 a negative number, Q. What is a Negative Number? Ans. Neg...

Q. What is a Negative Number? Ans. Negative numbers  are very important in mathematics. We say that positive and negative numbers are  opposites  of one another. Here

Steps for radio test - sequences and series, Steps for Radio test Assum...

Steps for Radio test Assume we have the series ∑a n Define, Then, a. If L b. If L>1 the series is divergent. c. If L = 1 the series might be divergent, this i

Integraton, how to find area under a curve

how to find area under a curve

Rectilinear figures, what are rctilinear figures ? types of rectilinear fig...

what are rctilinear figures ? types of rectilinear figures and their propertiees.

Assumptions and application of t distribution, Assumptions and Application ...

Assumptions and Application of T Distribution Assumptions of t distribution 1. The sample observations are random 2. Samples are drawn from general distribution 3.

Algebra problem solving , A rectangles lenth is (x+4) and width is (x+3).By...

A rectangles lenth is (x+4) and width is (x+3).By adding binomials give its perimiter

The hundredths digit is 4 and the tenths digit is twice, Which number below...

Which number below is described by the following statements? The hundredths digit is 4 and the tenths digit is twice the thousandths digit. a. 0.643 b. 0.0844 c. 0.446 d. 0.0142

Initial conditions and boundary conditions, Initial Condition...

Initial Conditions and Boundary Conditions In many problems on integration, an initial condition (y = y 0 when x = 0) or a boundary condition (y = y

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