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

Vertical tangent for parametric equations, Vertical Tangent for Parametric ...

Vertical Tangent for Parametric Equations Vertical tangents will take place where the derivative is not defined and thus we'll get vertical tangents at values of t for that we

integral 0 to pi e^cosx cos (sinx) dx, Let u = sin(x). Then du = cos(x) dx...

Let u = sin(x). Then du = cos(x) dx. So you can now antidifferentiate e^u du. This is e^u + C = e^sin(x) + C.  Then substitute your range 0 to pi. e^sin (pi)-e^sin(0) =0-0 =0

Simple derivatives, Simple derivatives Example   Differentiate followin...

Simple derivatives Example   Differentiate following.  (5x 3   - 7 x + 1) 5 ,[ f ( x )] 5 ,[ y ( x )] 5 Solution: Here , with the first function we're being asked to

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

Differential Equation, #i hve two qestion on Differential Equation i need s...

#i hve two qestion on Differential Equation i need solve it..

Find the volume of a right circular cylinder, Find the volume of a right ci...

Find the volume of a right circular cylinder: Calculate the volume and surface area of a right circular cylinder along with r = 3" and h = 4".  Solution: V =      πr 2

Ellipsoid - three dimensional spaces, Ellipsoid Now here is the genera...

Ellipsoid Now here is the general equation of an ellipsoid. X 2 / a 2 + y 2 /b 2 + z 2 /c 2 = 1 Here is a diagram of a typical ellipsoid. If a = b = c afterw

How much will it have depreciated after 2 years, The value of a computer is...

The value of a computer is depreciated over ?ve years for tax reasons (meaning that at the end of ?ve years, the computer is worth $0). If a business paid $2,100 for a computer, ho

Determine the function notation, Given f (x) = - x 2 + 6 x -11 determine e...

Given f (x) = - x 2 + 6 x -11 determine each of the following. (a)    f ( 2) (b)   f ( -10) (c)    f (t ) Solution (a)    f ( 2) = - ( 2) 2   + 6(2) -11 = -3 (

Venm diagrams, In a class, all pupils take Mathematics (M), 18 take Chemist...

In a class, all pupils take Mathematics (M), 18 take Chemistry (C), 17 take Biology (B) and 24 take Physics (P) of those taking 3 subjects only, 5 take Physics and Chemistry, 7 ta

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