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

Explain comparing fractions with example, Explain Comparing Fractions with ...

Explain Comparing Fractions with example? If fractions are not equivalent, how do you figure out which one is larger? Comparing fractions involves finding the least common

Parity to De-Skew, Consider the following proposal to deskew a skewed bitst...

Consider the following proposal to deskew a skewed bitstream from a TRNG. Consider the bitstream to be a sequence of groups ot n bits for some n > 2. Take the first n bits, and o

Managment Science, Classify models based on the degree of their abstraction...

Classify models based on the degree of their abstraction, and provide some examples of such models.

Ratio lanquage, Alexis needs to paint the four exterior walls of a large re...

Alexis needs to paint the four exterior walls of a large rectangular barn. the length of the barn is 80 feet the width is 50 feet and the height is 30 feet. The pain costs 28 dolla

Linear programming, function [x, z] = readSolution(tableau, basis)

function [x, z] = readSolution(tableau, basis)

Example of distributive law, Maya gives the children examples of distributi...

Maya gives the children examples of distributive with small numbers initially, and leads them towards discovering the law. The usual way she does this is to give the children probl

Build an equation for a hyperboloid of two sheets, 1. Build an equation for...

1. Build an equation for a hyperboloid of two sheets with the following properties: a. The central axis of the hyperboloid is the y-axis b. The two sheets are 4 units apart, an

Diffrentiation, y=f(a^x)   and f(sinx)=lnx find dy/dx Solution) dy/dx...

y=f(a^x)   and f(sinx)=lnx find dy/dx Solution) dy/dx = (a^x)(lnx)f''(a^x), .........(1) but f(sinx) = lnx implies f(x) = ln(arcsinx) hence f''(x) = (1/arcsinx) (1/ ( ( 1-x

Melisa and jennifer threw a fiftieth how much is a 20% tip, Melisa and Jenn...

Melisa and Jennifer threw a fiftieth birthday party for their father at a local restaurant. While the bill came, Melisa added a 15% tip of $42. Jennifer said in which the service w

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