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 decimal is represented by point a on the number line, What decimal is ...

What decimal is represented by point A on the number line? The hash marks indicate units of 0.01 between 0.75 and 0.80. Point A is 0.77. See the ?gure below.

F distribution, The F Distribution The F distribution is the dis...

The F Distribution The F distribution is the distribution of the ratio of 2 random variables. Both random variables have yet another distribution, called the c 2 Distri

Homomorphism, Let G be a group acting on a set X. The action is called fait...

Let G be a group acting on a set X. The action is called faithful if for any g ≠ 1 ∈ G there exists an x ∈ X such that gx ≠ x. That is, only the identity fi xes everything. Prov

Word problems, please can you help me with word problems

please can you help me with word problems

I am bad at math, i dont know how to do probobility iam so bad at it

i dont know how to do probobility iam so bad at it

Objectives of ones tens and more, Objectives After studying this unit, ...

Objectives After studying this unit, you should be able to 1.  evolve and use alternative activities to clarify the learner's conceptual 2.  understanding of ones/tens/hu

Theorem to computer the integral, Use green's theorem to computer the integ...

Use green's theorem to computer the integral F . dr where F = ( y^2 + x, y^2 + y) and c is bounded below the curve y= - cos(x),, above by y = sin(x) to the left by x=0 and to the r

Unionz, Need a problem solved

Need a problem solved

Geometric progression (g.p.), Learning geometric progression ...

Learning geometric progression vis-á-vis arithmetic progression should make it easier. In geometric progression also we denote the first t

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