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

Functions of several variables - three dimensional space, Functions of Seve...

Functions of Several Variables - Three Dimensional Space In this part we want to go over a few of the basic ideas about functions of much more than one variable. Very first

Comparison test for improper integrals - integration, Comparison Test for I...

Comparison Test for Improper Integrals Here now that we've seen how to actually calculate improper integrals we should to address one more topic about them.  Frequently we ar

Find the sum of all natural no. between 101 and 304, Find the sum of all na...

Find the sum of all natural no. between 101 & 304 which are divisible by 3 or 5. Find their sum. Ans:    No let 101 and 304, which are divisible by 3. 102, 105..........

Finance, Determine the value of a $1800 investment after six years at 9.3% ...

Determine the value of a $1800 investment after six years at 9.3% per year, simple interest

Evaluate the measure of the larger angle, Two angles are complementary. The...

Two angles are complementary. The calculate of one angle is four times the measure of the other. Evaluate the measure of the larger angle. a. 36° b. 72° c. 144° d. 18°

Complex analysis test, Can anyone help with my exam. I have 8 questions to ...

Can anyone help with my exam. I have 8 questions to do which is due on 02-14-13

Translate the formula into prefix form, Translate the following formula int...

Translate the following formula into a prefix form expression in Scheme: 5+4*(6-7/5)/3(14-5)(3+1)

How many cubic feet of steel is require to construct, A spherical holding t...

A spherical holding tank whose radius to the outer surface is 10 feet is constructed of steel 1 inch thick. How many cubic feet of steel is require to construct the holding tank? R

Calculate average speed of a train, Calculate average speed of a train: ...

Calculate average speed of a train: What is the average speed of a train which completes a 450-mile trip in 5 hours? Solution: Using Equation 15: V av = s/t V a

List some maths activities-tasks-exercises for children, List some activiti...

List some activities/tasks/exercises that you would give a class of 50 children to do to make them aware about patterns, and to articulate what the patterns are. You must be won

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