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

Working definition of limit - sequences and series, Working Definition of L...

Working Definition of Limit 1. We state that if we can create an as close to L like we want for all adequately large n.  Alternatively, the value of the a n 's approach

Proof of various derivative facts formulas properties, PROOF OF VARIOUS DER...

PROOF OF VARIOUS DERIVATIVE FACTS/FORMULAS/PROPERTIES Under this section we are going to prove several of the different derivative facts, formulas or/and properties which we en

John and charlie have a whole of 80 dollars he has x dollar, John and Charl...

John and Charlie have a whole of 80 dollars. John has x dollars. How much money does Charlie have? This problem translates to the expression 42 + (11 - 9) ÷ 2. Using order of o

Randy, write in factor form 9x3+9x5

write in factor form 9x3+9x5

Actual implicit solution, y 2 = t 2 - 3 is the actual implicit solution t...

y 2 = t 2 - 3 is the actual implicit solution to y'= t/y, y(2) = -1. At such point I will ask that you trust me that it is actually a solution to the differential equation. You w

Generate a 30-ounce solution which was 28% acid, A chemist mixed a solution...

A chemist mixed a solution which was 34% acid with another solution that was 18% acid to generate a 30-ounce solution which was 28% acid. How much of the 34% acid solution did he u

Evaluate relate rate in shape of a cone a tank , In the shape of a cone a t...

In the shape of a cone a tank of water is leaking water at a constant rate of 2 ft 3 /hour .  The base radius of the tank is equal to 5 ft and the height of the tank is 14 ft.

Distance traveled by car - word problem, Distance Traveled by Car - word pr...

Distance Traveled by Car - word problem: It takes a man 4 hours to reach a destination 1325 miles from his home. He drives to the airport at an average speed of 50 miles per h

Determine the team having similar code-pigeon hole principle, Shirts number...

Shirts numbered consecutively from 1 to 20 are worn by 20 members of a bowling league. While any three of these members are selected to be a team, the league aims to use the sum of

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