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

Calculate the amplitude of trigonometry function, Consider the trigonometri...

Consider the trigonometric function f(t) = -3 + 4 cos(Π/ 3 (t - 3/2 )). (a) What is the amplitude of f (t)? (b) What is the period of f(t)? (c) What are the maximum and mi

Marketing research, project assignment of page no.19 question no.2

project assignment of page no.19 question no.2

Fractions, if you have 1/5 of a candy bar and 4 friends how much will they ...

if you have 1/5 of a candy bar and 4 friends how much will they get

Unionz, Need a problem solved

Need a problem solved

Chanllenge, a pizza driver delivered 27 pizzas in one night he delivered mo...

a pizza driver delivered 27 pizzas in one night he delivered more then one pizza to only one house . every other house he only delivered pizza to 18 houses . how many pizzas did he

Polynomial time algorithm - first order query, For queries Q 1 and Q 2 , w...

For queries Q 1 and Q 2 , we say Q 1 is contained in Q 2 , denoted Q 1 ⊆ Q 2 , iff Q 1 (D) ⊆ Q 2 (D) for every database D. The container problem for a fixed Query Q 0 i

What is the annual interest rate on an account in which earn, What is the a...

What is the annual interest rate on an account in which earns $948 in simple interest over 36 months along with an initial deposit of $7,900? Using the easy interest formula In

Translating word phrases into algebraic expressions, How do I solve this pr...

How do I solve this problem: Manuel is a cross-country runner for his school’s team. He jogged along the perimeter of a rectangular field at his school. The track is a rectangle th

Developing pre-number concepts, DEVELOPING PRE-NUMBER CONCEPTS :  Previous...

DEVELOPING PRE-NUMBER CONCEPTS :  Previously you have read how children acquire concepts. You know that, for children to grasp a concept, they must be given several opportunities

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