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

Show that 571 is a prime number, Show that 571 is a prime number. Ans: ...

Show that 571 is a prime number. Ans:    Let x=571⇒√x=√571 Now 571 lies between the perfect squares of  (23)2 and (24)2 Prime numbers less than 24 are 2,3,5,7,11,13,17,1

representative value or an extreme value, A population forms a normal dist...

A population forms a normal distribution with a mean of μ=80 and a standard deviation of o=15. For every samples, compute the z-score for the sample mean and determine whether the

Find out solutions to second order differential equations, Find out some so...

Find out some solutions to y′′ - 9 y = 0 Solution  We can find some solutions here simply through inspection. We require functions whose second derivative is 9 times the

Fundamental theorem of integral facts , Fundamental Theorem of Calculus, Pa...

Fundamental Theorem of Calculus, Part II  Assume f(x) is a continuous function on [a,b] and also assume that F(x) is any anti- derivative for f(x). Hence, a ∫ b f(x) dx =

Complex number 1pi in polar form, Whlie solving complex number 1pi in polar...

Whlie solving complex number 1pi in polar form.In book they have taken theta =-pi/4 why not 7pi/4 because the point lie in fourth quadrant and the theta is given by 2pi-angle(alpha

Types of series - special series , Series - Special Series In this pa...

Series - Special Series In this part we are going to take a concise look at three special series.  In fact, special may not be the correct term.  All three have been named th

Determine the equation of the line, Example :  Determine the equation of th...

Example :  Determine the equation of the line which passes through the point (8, 2) and is, parallel to the line given by 10 y+ 3x = -2 Solution In both of parts we are goi

Npv, how to calculate the npv

how to calculate the npv

Give the introduction to scientific notation, Give the Introduction to Scie...

Give the Introduction to Scientific Notation? In mathematics, it can be very difficult and time-consuming to do calculations involving very large and very small numbers. This i

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