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

How to adding rational expressions with common denominators, Adding Rationa...

Adding Rational Expressions with Common Denominators To add or subtract fractions or rational expressions with common denominators, all you do is add or subtract the numerators

Quadratic equation, If roots of (x-p)(x-q) = c are a and b what will be th...

If roots of (x-p)(x-q) = c are a and b what will be the roots of (x-a)(x-b) = -c please explain. Solution)  (x-p)(x-q)=c x2-(p+q)x-c=0 hence,   a+b=p+q  and    a.b=pq-c

Parent, Sam has 18 marbles. Dean has 3 marbles. Dean has ---- as many marbl...

Sam has 18 marbles. Dean has 3 marbles. Dean has ---- as many marbles as Sam?

Rectilinear figures, what are rctilinear figures ? types of rectilinear fig...

what are rctilinear figures ? types of rectilinear figures and their propertiees.

Conclusion of egroff''s theorem and lusin''s theorem, (1) Show that the con...

(1) Show that the conclusion of Egroff's theorem can fail if the measure of the domain E is not finite. (2) Extend the Lusin's Theorem to the case when the measure of the domain E

Equivelent ratios, if 2 ballons cost 12 coins,use equivelent ratios to see ...

if 2 ballons cost 12 coins,use equivelent ratios to see how many coins 8 ballons would cost

Sin[cot-1{cos(tan-1x)}], sin (cot -1 {cos (tan -1 x)}) tan -1 x = A  ...

sin (cot -1 {cos (tan -1 x)}) tan -1 x = A  => tan A =x sec A = √(1+x 2 ) ==>  cos A = 1/√(1+x 2 )    so   A =  cos -1 (1/√(1+x 2 )) sin (cot -1 {cos (tan -1 x)}) = s

How to make equations of conics easier to read, How to Make Equations of Co...

How to Make Equations of Conics Easier to Read ? If you want to graph a conic sections, first you need to make the equation easy to read. For example, say you have the equatio

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