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

Matrices, what are eigen values

what are eigen values

What are inclusive events, Q. What are Inclusive Events? Ans. Even...

Q. What are Inclusive Events? Ans. Events that can occur at the same time are called inclusive events. For example, a student can belong to more than one club at one time

Positive exponents, Simplify following and write the answers with only posi...

Simplify following and write the answers with only positive exponents.   (-10 z 2 y -4 ) 2 ( z 3 y ) -5 Solution    (-10 z 2 y -4 ) 2 ( z 3 y ) -5

Describe about parallel and perpendicular lines, Describe about Parallel an...

Describe about Parallel and Perpendicular Lines ? Parallel Lines : Parallel lines are coplanar lines (lines that lie in the same plane) that never intersect. The bl

Evaluate the convergence of the algorithms, Evaluate the convergence of the...

Evaluate the convergence of the algorithms: From the convergence proof of power method, LR and QR algorithm for the computation of eigenvalues we see that the easiest case to

My daugther needs help, my daughter is having trouble with math she cant un...

my daughter is having trouble with math she cant understand why please help us

What division means, WHAT DIVISION MEANS :  Ask any primary school teacher...

WHAT DIVISION MEANS :  Ask any primary school teacher which areas in arithmetic the children find very difficult. Division will probably top her list. This is not surprising. If y

Graph of a function, Graph of a function Help me in understanding the ...

Graph of a function Help me in understanding the concept of graph of a function in linear algebra and matrices.

Hours, jeff left hartford at 2:15 pm and arrived in boston at 4:45 pm how l...

jeff left hartford at 2:15 pm and arrived in boston at 4:45 pm how long did the drive take him?

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