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

Calculus, what is a domain of a function?

what is a domain of a function?

Error in measurement, what is actual error and how do you calculate percen...

what is actual error and how do you calculate percentage error

How many pages can it print in 4 minutes, Tammi's latest printer can print ...

Tammi's latest printer can print 13.5 pages a minute. How many pages can it print in 4 minutes? Multiply 13.5 by 4 to ?nd out the number of copies made; 13.5 × 4 = 54 copies.

difference between two sample means (large sample), Testing The Difference...

Testing The Difference Between Two Sample Means (Large Samples) A large sample is defined as one which have 30 or more items as n≥30 whereas n is the sample size In a busine

Quantitative method, Year 1 2 3 4 ...

Year 1 2 3 4 5 6 7 8 9 10 Corn revenue 40 44 46

Trignomentry, 128sinpower8=cos8-8cos6+28cos4-56cos2+35

128sinpower8=cos8-8cos6+28cos4-56cos2+35

Differential equation, Find the series solution of2x2y”+xy’+(x2-3)Y=0 about...

Find the series solution of2x2y”+xy’+(x2-3)Y=0 about regular singular pointuestion..

Fraction, maria has a slice of pizza that is 1/6 of the pizaa.Ben has a sli...

maria has a slice of pizza that is 1/6 of the pizaa.Ben has a slice of pizza that is 1/3 of the pizza, marias slice is bigger.draw pizzas to show how this is possible.

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