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

Problems related to applying operations in learning maths, PROBLEMS RELATED...

PROBLEMS RELATED TO APPLYING OPERATIONS :  Some of us were testing Class 4 children with addition and subtraction problems. We gave them sums that were written horizontally and th

Mean, a data set has a mean of 3, a median of4, and a mode of 5, which numb...

a data set has a mean of 3, a median of4, and a mode of 5, which number must be in the data set 3,4,or5

Earning money, Terry earns $680 per week. He is entitled to 4 weeks annual ...

Terry earns $680 per week. He is entitled to 4 weeks annual leave and receives an additional holiday loading of 17.5%. Calculate his total pay for this holiday period.

What are real numbers, The hole set of irrational and rational numbers is t...

The hole set of irrational and rational numbers is the set of real numbers and is representing by R. Thus, the real numbers can also be describe in terms of position of a point on

Differance between expanded notation vs. standard notation , Differance bet...

Differance between Expanded Notation vs. Standard Notation ? A number written in expanded notation is broken down into parts just like it is in a place-value table. Example

Word problems, The sum of two numbers is 19, their difference is 5. find th...

The sum of two numbers is 19, their difference is 5. find the numbers

Find the number of vertices in graph, A graph G has 21 Edges, 3 vertices of...

A graph G has 21 Edges, 3 vertices of degree 4 and other vertices are of degree 3. Find the number of vertices in G.   Ans: It is specified that graph G has 21 edges, so total

Hundreths., round to the nearest hundreths 1677.76

round to the nearest hundreths 1677.76

.fractions, what is the difference between North America''s part of the tot...

what is the difference between North America''s part of the total population and Africa''s part

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