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

Solution to a differential equation, A solution to a differential equation ...

A solution to a differential equation at an interval α Illustration 1:   Show that y(x) = x -3/2 is a solution to 4x 2 y′′ + 12xy′ + 3 y = 0 for x > 0. Solution : We'll

NOWA method, solve the equation 540+115 using the NOWA method

solve the equation 540+115 using the NOWA method

Young entrepreneur, As a creative and innovative entrepreneur, we are requi...

As a creative and innovative entrepreneur, we are required to invent or improvise a product or service that benefits the society and the economy, so what do you think is it?

Difference between probability and statistics, Q. Difference between Probab...

Q. Difference between Probability and statistics? Ans. Probability and statistics are used in many different aspects of life. What are they and why are they so popular?

Geometric mean, When three quantities a, b and c are in G.P., t...

When three quantities a, b and c are in G.P., then the geometric mean "b" is calculated as follows. Since these quantities are in G.P., the r

Engg maths, How to get assignment to solve and earn money

How to get assignment to solve and earn money

Multiply, 37x7= multiply answer it.

37x7= multiply answer it.

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

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