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

Highest common factor (hcf), We know that a factor is a quantity whic...

We know that a factor is a quantity which divides the given quantity without leaving any remainder. Similar to LCM above we can find a highest common factor (HCF)

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

y=f(a^x)   and f(sinx)=lnx find dy/dx? Solution) dy/dx exist only when 0 1 as the function y = f(a^x) itself does not exist.

Formula to calculate the surface area of basketball, Keith wants to know th...

Keith wants to know the surface area of a basketball. Which formula will he use? The surface area of a sphere is four times π times the radius squared.

Metric and costamary, can you please help me with this topic that im on in ...

can you please help me with this topic that im on in classand I just don''t get it and can u help me with dividing fractions adding mutply subtract add

Estimate root of given equations, The positive value of k for which x 2 +K...

The positive value of k for which x 2 +Kx +64 = 0 & x 2 - 8x + k = 0 will have real roots . Ans: x 2 + K x + 64 = 0 ⇒  b 2 -4ac > 0 K 2 - 256 > 0 K

Math, the size of my sitting room is 7metres by 6metres . i bought a rug fo...

the size of my sitting room is 7metres by 6metres . i bought a rug for covering the centre of its floor. one metre of the floor around the edge of the room is not to be covered by

Draw a graph model with the adjacency matrix, QUESTION (a) Draw a graph...

QUESTION (a) Draw a graph model with the following adjacency matrix.                         (b) The diagram below shows different cities labelled a to g and z. Also sh

Constant aceleration formulae, a car comes to a stop from a speed of 30m/s ...

a car comes to a stop from a speed of 30m/s in a distance of 804m. The driver brakes so as to produce a decelration of 1/2m per sec sqaured to begin withand then brakes harder to p

Expertes, how to do multiplication

how to do multiplication

Three whole divisions, In the National Hockey championship, there are 30 in...

In the National Hockey championship, there are 30 independent ice hockey teams. Every of the teams will play 82 official NHL games every year. Many teams will have to travel from t

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