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

..compound intrest, tell me about the software of compound intrest?

tell me about the software of compound intrest?

Adding fractions with the same denominator, Q. Adding Fractions with the Sa...

Q. Adding Fractions with the Same Denominator? Adding fractions with the same denominator is easy- you add the numerators (the tops), and you leave the denominator alone!

Find x if circle passes through -3, The centre of a circle is (2x - 1, 3x +...

The centre of a circle is (2x - 1, 3x + 1).Find x if the circle passes through (-3,-1) and the length of the diameter is 20 units.

The perimeter square can be expressed as x + 4 estimate x, The perimeter of...

The perimeter of a square can be expressed as x + 4. If one side of the square is 24, what is the value of x? Since the perimeter of the square is x + 4, and a square has four

Find the volume of the cuboids, If the areas of three adjacent faces of cub...

If the areas of three adjacent faces of cuboid are x, y, z respectively, Find the volume of the cuboids. Ans: lb = x , bh = y, hl = z Volume of cuboid = lbh V 2 = l 2 b 2

Arden''s Theorem, Find the Regular Grammar for the following Regular Expres...

Find the Regular Grammar for the following Regular Expression: a(a+b)*(ab*+ba*)b.

Write prim's algorithm, Write Prim's Algorithm.   Ans: Prim's algorithm...

Write Prim's Algorithm.   Ans: Prim's algorithm to find out a minimum spanning tree from a weighted graph in step by step form is given below.  Let G = (V, E) be graph and S

Question, What is a marketing plan

What is a marketing plan

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