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

#title.simpal harmonic motion., #questionShow that the system oscillates in...

#questionShow that the system oscillates in simple harmonic motion demonstrated by; , for which the general solution where X = (x – x0)..

Mss. Ann, I need marketing management sample assignment as a guide

I need marketing management sample assignment as a guide

External forces, It is the catch all force. If there are some other forces ...

It is the catch all force. If there are some other forces which we decide we need to act on our object we lump them in now and call this good. We classically call F(t) the forcing

Prove that if x is a real number then [2x] = [x] + [x + ½ ], Prove that if...

Prove that if x is a real number then [2x] = [x] + [x + ½ ] Ans: Let us consider x be any real number. It comprises two parts: integer and fraction. With no loss of

Derivative for parametric equations, Derivative for Parametric Equations ...

Derivative for Parametric Equations dx/dy = (dx/dt) / (dy/dt) ,         given dy/dt ≠ 0 Why would we wish to do this? Well, remind that in the arc length section of the Appl

Fractions, A recipe calls for 2 1/4 teaspoons of salt for every 1 1/8 teasp...

A recipe calls for 2 1/4 teaspoons of salt for every 1 1/8 teaspoons of black pepper used. How many teaspoons of salt are needed for each teaspoon of pepper used ?

Solve by factorization, Solve by factorization X 2 +(a/a+b + a+b/a)x+...

Solve by factorization X 2 +(a/a+b + a+b/a)x+1 = 0 X 2 +(a/a+b + a+b/a)x+1 =>  X 2 +(a/a+b x a+b/ax + a/a+b .a+b/a) =>  X[x+a/a+b] +a+b/a[a+a*a+b]= 0 =>  X= -a

Find the number., There is a number. If the sum of digits is 14, and if 29 ...

There is a number. If the sum of digits is 14, and if 29 is subtracted from the number, the digits become equal. Find the number.

Types of sets, NULL/ VOID/ EMPTY SET A set which has no element is know...

NULL/ VOID/ EMPTY SET A set which has no element is known as the null set or empty set and is indicated by f (phi). The number of elements of a set A is indicated as n (A) and

PR Plan for Bloomington Bombers softball team, I need to come up with a PR ...

I need to come up with a PR plan for a fictitious women''s softball team. How much would something like that cost?

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