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

Solid Mensuration, The two sides of a triangle are 17 cm and 28 cm long, an...

The two sides of a triangle are 17 cm and 28 cm long, and the length of the median drawn to the third side is equal to 19.5 cm. Find the distance from an endpoint of this median to

Describe a business, a. Write an exponential function that could model the ...

a. Write an exponential function that could model the information in this graph.   b. Describe a business, scientific (not mathematical), or economic situation for what thi

Empty set, There is one final topic that we need to address as far as solut...

There is one final topic that we need to address as far as solution sets go before leaving this section. Consider the following equation and inequality.

Equation, how do you slove 4u-5=2u-13

how do you slove 4u-5=2u-13

Trade discount, on 30 april, anthony purchased television invoiced at rm 69...

on 30 april, anthony purchased television invoiced at rm 6999 with cash discount terms of 2/10, 1/15, n/30 and also a trade discount 1.5%, 2%, 3.25%. In order to pay the invoice, h

Determinants, can anyone solve this assigment: D=lsqrt(3x-5) sqrt(2x)l ...

can anyone solve this assigment: D=lsqrt(3x-5) sqrt(2x)l =3 l -1 1 l

Share and dividend, #a invests Rs 15000IN COMPANY PAYING 10%WHEN Rs100 SHAR...

#a invests Rs 15000IN COMPANY PAYING 10%WHEN Rs100 SHARE IS SOLD AT A PREMIUM OF Rs 20 after a yearASOLD SHARES AT Rs80 EACHAND INVESTEDPROCEEDS IN Rs75SHARES SELLING AT Rs 100 WZI

Find solution to an equation or inequality, Illustrates that each of the fo...

Illustrates that each of the following numbers are solutions to the following equation or inequality. (a) x = 3 in x 2 - 9 = 0 (b) y = 8 in 3( y + 1) = 4 y - 5 Solution

Working definition of function, A function is an equation for which any x w...

A function is an equation for which any x which can be plugged into the equation will yield accurately one y out of the equation. There it is. i.e. the definition of functions w

Relationship between inverse and sine function, Relationship between the in...

Relationship between the inverse sine function and the sine function We have the given relationship among the inverse sine function and the sine function.

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