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

Find intervals while function is increasing or decreasing, Find out all int...

Find out all intervals where the given function is increasing or decreasing. f ( x ) = - x 5 + 5/2 x 4 + 40/3 x 3 + 5 Solution To find out if the function is increasi

Introduction to addition and subtraction, INTRODUCTION :  When a child of ...

INTRODUCTION :  When a child of seven isn't able to solve the sum 23+9, what could the reasons be? When she is asked to subtract 9 from 16, why does she write 9 - 16 = 13 ?

Integers, What are some equations for 36?

What are some equations for 36?

Permuation and combination, how many words can be formed from letters of wo...

how many words can be formed from letters of word daughter such that each word contain 2vowles and 3consonant

Shares and dividend, A man invests rs.10400 in 6%shares at rs.104 and rs.11...

A man invests rs.10400 in 6%shares at rs.104 and rs.11440 in 10.4% shares at rs.143.How much income would he get in all??

Problem solving, if you start a business and john creates 6 t shirts more t...

if you start a business and john creates 6 t shirts more than pedro and pedro four t shirts less than eva and between the three of then made 22 tshirts, how many t-shirts made each

Example of repeated eigenvalues, Illustration : Solve the following IVP. ...

Illustration : Solve the following IVP. Solution: First get the eigenvalues for the system. = l 2 - 10 l+ 25 = (l- 5) 2 l 1,2 = 5 Therefore, we got a

Limit problem, limit x-a/|x-a| equals x-a [a]a [b]0 [c]-a [d]none 0f these

limit x-a/|x-a| equals x-a [a]a [b]0 [c]-a [d]none 0f these

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