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

Exercise to think about this aspect of children- maths, Doing the following...

Doing the following exercise will give you and opportunity to think about this aspect of children. E1) List some illustrations of exploration by four or five-year-olds that you

VECTOR, the sum of the vector QR, -SR, TQ and 2ST is?

the sum of the vector QR, -SR, TQ and 2ST is?

find the present age, 5 years however, a man's age will be 3times his son'...

5 years however, a man's age will be 3times his son's age and 5 years ago, he was 7 times as old as his son.    Find their present ages.

Test of hypothesis about the difference among two means, Test of hypothesis...

Test of hypothesis about the difference among two means The t test can be utilized under two assumptions when testing hypothesis about the difference among the two means; that

What was the total cost of the copies, Mary made 34 copies at the local off...

Mary made 34 copies at the local office supply store. The copies cost $0.06 each. What was the total cost of the copies? Multiply 34 by $0.06 to ?nd out the total cost; 34 × $0

Four is added to the quantity two minus the sum of negative, Four is added ...

Four is added to the quantity two minus the sum of negative seven and six. This answer is then multiplied through three. What is the result? This problem translates to the expr

Dimensions and degree of an expression, Binomials, Trinomials and P...

Binomials, Trinomials and Polynomials which we have seen above are not the only type. We can have them in a single variable say 'x' and of the form x 2 + 4

Theory of quadratic equations.., solve the following simultaneous equations...

solve the following simultaneous equations x+y=a+b ; a/x_b/y

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 +

Symmetric and anti-symmetric relation on a set, 1. Let A = {1,2, 3,..., n} ...

1. Let A = {1,2, 3,..., n} (a) How many relations on A are both symmetric and anti-symmetric? (b) If R is a relation on A that is anti-symmetric, what is the maximum number o

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