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

How many more cm are required to reach the average monthly, Thomas is remai...

Thomas is remaining track of the rainfall in the month of May for his science project. The first day, 2.6 cm of rain fell. On the second day, 3.4 cm fell. On the third day, 2.1 cm

Definition of concavity, Definition 1: Given the function f (x ) then 1...

Definition 1: Given the function f (x ) then 1. f ( x ) is concave up in an interval I if all tangents to the curve on I are below the graph of f ( x ) . 2. f ( x ) is conca

Trigonometry, explain the formular for finding trigonometry

explain the formular for finding trigonometry

Calculate what number of workers should be hired, You are given the followi...

You are given the following information about the amount your company can produce per day given the number of workers it hires. Numbers of Workers Quanti

First order linear differential equation, Newton's Second Law of motion, wh...

Newton's Second Law of motion, which recall from the earlier section that can be written as: m(dv/dt) = F (t,v) Here F(t,v) is the sum of forces which act on the object and m

Show that 3cos-4cos3 = 0, If sin? =  1/2 , show that 3cos?-4cos 3 ? = 0. ...

If sin? =  1/2 , show that 3cos?-4cos 3 ? = 0. Ans:    Sin ? = ½ ⇒ ? = 30 o Substituting in place of ? =30 o . We get 0.

Find extrema & relative extrema f ( x ) = x3 on [-2, Recognizes the absolut...

Recognizes the absolute extrema & relative extrema for the given function.                                                    f ( x ) = x 3      on        [-2, 2] Solution :

The Theory of Set, Set M= {m''s/m is a number from 5 to 10}

Set M= {m''s/m is a number from 5 to 10}

Statistical estimation, Statistical estimation This is the procedure of...

Statistical estimation This is the procedure of using statistic to estimate a population parameter This is divided into point estimation whereas an estimate of a population

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