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

What is order of operations simplifying expressions, What is Order of Opera...

What is Order of Operations Simplifying Expressions? Kevin gives Don directions to his house: "Go left 3 blocks and then go right 2 blocks." Don wasn't paying close attention.

Outer automorphism, (a) An unordered pair fm; ng with 1 ≤ m ≠ n ≤ 6 is ca...

(a) An unordered pair fm; ng with 1 ≤ m ≠ n ≤ 6 is called a duad. List the 15 duads. (b) There are 15 ways to partition {1, ......, 6 } into 3 duads, such as { {1; 2}, {3, 4},

Standardizing normal variables, Standardizing Normal Variables Suppose ...

Standardizing Normal Variables Suppose we have a normal population. We can represent it by a normal variable X. Further, we can convert any value of X into a corresponding valu

Solving trig equations with calculators, Solving Trig Equations with Calcul...

Solving Trig Equations with Calculators, Part I : The single problem along with the equations we solved out in there is that they pretty much all had solutions which came from a

#mathematics induction, how many numbers must be selected from the set A={1...

how many numbers must be selected from the set A={1, 3, 5, 7, 9, 11, 13, 15}to guarantee that at least one pair of these numbers add up to16? Explain and justify your answer

Probability, Ratio of successes in 5 independent trials to the probability ...

Ratio of successes in 5 independent trials to the probability of successes in two independent trials is 1/4. What is the probability of 4 successes in 6 independent trials?

Find regular grammar for given regular expression, find regular grammar for...

find regular grammar for the following regular expression: a(a+b)*(ab* +ba*)b

Algebra, Manuel is a cross-country runner for his school’s team. He jogged ...

Manuel is a cross-country runner for his school’s team. He jogged along the perimeter of a rectangular field at his school. The track is a rectangle that has a length that is 3 tim

Problem solving sequence: the operations, marianne took $100.00 to a store ...

marianne took $100.00 to a store that was holding a no-tax sale. she bought a shirt for $24.99, sandals for $18.50, shorts for $16.49, and a beach bag for $21.69. how much did she

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