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

Derivative, Uses of derivative in daily life with examples.

Uses of derivative in daily life with examples.

Find the area of the shaded region, ABC is a right angled triangle in which...

ABC is a right angled triangle in which ∠A = 900. Find the area of the shaded region if AB = 6 cm, BC=10cm & I is the centre of the Incircle of ?ABC. Ans: ∠A =90 0 BC

How to join as maths expert, Sir, With due respect,I, beg to state that I ...

Sir, With due respect,I, beg to state that I want to join as a maths expert and earn some money. I would be grateful to you if you guide me in this regard.

Determines the first four derivatives of y = cos x, Example    determines t...

Example    determines the first four derivatives for following.                                                                  y = cos x Solution: Again, let's just do so

Probability, One coin is tossed thrice. what will be the probability of get...

One coin is tossed thrice. what will be the probability of getting neither 3 heads nor 3 tails

Calculate the cost make use of trigonometric functions, In this task you ar...

In this task you are required to make use of trigonometric functions, research and use the Monte Carlo method of integration to determine areas under curves and perform calculation

Graphs of sin x and cos x, Q. Graphs of Sin x and Cos x ? Ans. The...

Q. Graphs of Sin x and Cos x ? Ans. The sine and cosine functions are related to the path that an object might take around a circle. Suppose a dolphin was swimming over

Matrix addition and subtraction, What is Matrix addition and subtraction? I...

What is Matrix addition and subtraction? Illustrate the procedure of Matrix addition and subtraction.

What is the percent of increase heating oil, The price of heating oil rose ...

The price of heating oil rose from $1.10 per gallon to $1.43 per gallon. What is the percent of increase? The price of heating oil rose $0.33 ($1.43 - $1.10 = $0.33). To ?nd ou

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