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

Trig/cosine/sine rule etc, #questiThe elevation of a telecommunication mast...

#questiThe elevation of a telecommunication mast from two points, one due North of the tower and the other South of it are 21.2 degrees and 24.3 degrees respectively, and the two p

Array -categories of multiplication, Array - when items are arranged in a ...

Array - when items are arranged in a regular rectangular pattern of rows and columns, counting how many there are. (e.g., if there are 3 rows of 5 girls each, how many girls are t

Basic, 8l550ml - 1/4l =

8l550ml - 1/4l =

Define period, Q. Define Period, Amplitude and Phase Shift? Ans. P...

Q. Define Period, Amplitude and Phase Shift? Ans. Period, amplitude and phase shift are used when describing a sinusoidal curve The period of a function is the smallest

Find the shortest length of wire needed, A 125-foot tower is located on the...

A 125-foot tower is located on the side of a mountain that is inclined at 32° to the horizontal. A guy wire is to be fitted to the top of the tower and anchored at a point 55 feet

Describe visualize solutions of simultaneous equations, Describe Visualize ...

Describe Visualize Solutions of Simultaneous Equations ? By drawing the graph of each equation in a system of equations, you can see a picture of the system's solutions. Fo

Vector addition, Is it possible to add two vectors of unequal magnitude and...

Is it possible to add two vectors of unequal magnitude and get a resultant of zero?Please explain also. Ans) no it is not possible as .. if the magnitude is diffrent then they c

Word problem in algebra, robin runs 5 kilometers around the campus in the s...

robin runs 5 kilometers around the campus in the same length of time as he can walk 3 kilometers from his house to school. If he runs 4 kilometers per hour faster than he walks, ho

How i get orders, how i become an assignment helper?n how i get order from ...

how i become an assignment helper?n how i get order from students?what should i do

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