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

Understanding Logistics, How can i get a better understanding of logistics ...

How can i get a better understanding of logistics without having a degree on logistics and knowledge of it? Simply, in a very basic form..

Trignometry, Define the given satatement : 1.sin90-sin89=sin10 using pythag...

Define the given satatement : 1.sin90-sin89=sin10 using pythagoras theoram 2. How can any value of sin and cosis always given any value of cosec.

Measures of central tendency-computation method, Computation method   ...

Computation method           Whereas L = Lower class boundary of the class having the mode             f 0 = Frequency of the class below the modal class

Similar triangles, S IMILAR TRIANGLES : Geometry  is  the  right  ...

S IMILAR TRIANGLES : Geometry  is  the  right  foundation  of all  painting,  I have  decided to  teach its  rudiments  and  principles  to  all  youngsters  eager for  ar

Solve the subsequent differential equation, Solve the subsequent differenti...

Solve the subsequent differential equation. 2xy - 9 x 2 + (2y + x 2 + 1) dy/dt = 0 Solution Let's start off via supposing that wherever out there in the world is a fun

Define markov process, Define Markov process. Markov process is one in...

Define Markov process. Markov process is one in which the future value is independent of the past values, given the current value

Trigonometry, if theta is a positive acute angle and 2sin theta +15cos squ...

if theta is a positive acute angle and 2sin theta +15cos square theta=7 then find the value of cot theta

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