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

Which of the subsequent numbers will yield a number larger, Which of the su...

Which of the subsequent numbers will yield a number larger than 23.4 while it is multiplied by 23.4? When multiplying through a number less than 1, you get a product in which i

Power of x, (x+1/x)^2=3 then value of x^72+x^66+x^54+x^36+x^24+x^6+1 is

(x+1/x)^2=3 then value of x^72+x^66+x^54+x^36+x^24+x^6+1 is

Construction , construct of tangents a circle from an external point when ...

construct of tangents a circle from an external point when its centre is not known

Arc length for parametric equations, Arc Length for Parametric Equations ...

Arc Length for Parametric Equations L = ∫ β α √ ((dx/dt) 2 + (dy/dt) 2 ) dt Note: that we could have utilized the second formula for ds above is we had supposed inste

Describe adding and subtracting fractions in details, Describe Adding and S...

Describe Adding and Subtracting Fractions in details? To add or subtract fractions, here are some steps: 1. Find the lowest common denominator (LCD) or any common denominato

How to find the range of a function, How to Find the range of a function ? ...

How to Find the range of a function ? Sigh. Students ask me this all the time. They don't want an explanation, they want a procedure. "Tell me the steps!" Unfortunately, th

Determine the determinant of matrix, Example Determinant:   Determine ...

Example Determinant:   Determine the determinant of each of the following matrices. Solution : For the 2 x 2 there isn't much to perform other than to plug this in

Approximating solutions to equations newtons method, Approximating solution...

Approximating solutions to equations : In this section we will look at a method for approximating solutions to equations. We all know that equations have to be solved on occasion

Factor Fiction, Ok this is true or false wit a definition. The GCF of a pai...

Ok this is true or false wit a definition. The GCF of a pair of numbers can never be equal to one of the numbers.

Velocity problem, Velocity Problem : Let's look briefly at the velocity pr...

Velocity Problem : Let's look briefly at the velocity problem.  Several calculus books will treat it as its own problem.  .  In this problem we are given a position function of an

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