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 the cost price of the toy, A dealer sells a toy for Rs.24 and gains as...

A dealer sells a toy for Rs.24 and gains as much percent as the cost price of the toy. Find the cost price of the toy. Ans:    Let the C.P be x ∴Gain = x % ⇒ Gain = x

Trignometry, Prove that cosec2theta+ sec2theta can never be less than 2

Prove that cosec2theta+ sec2theta can never be less than 2

Three person problem of points, Three-person Problem of Points: Pascal, Fer...

Three-person Problem of Points: Pascal, Fermat and their old friend the Chevalier de Mere each put $10.00 into a pot, and agree to play a game that has rounds. Each player has the

Semi-infinite slab solution in fourier number, Consider the temperature dis...

Consider the temperature distribution in a 1D flat plate, insulated at x = L and exposed to convective heat transfer at x = 0. On the axes below, sketch what the distribution looks

The quantity x + 6 is divided by negative four find number, Negative four i...

Negative four is multiplied through the quantity x + 8. If 6x is then added to this, the output is 2x + 32. What is the value of x? twice the quantity x + 6 is divided by negative

Shares and dividends, at what price 6.25% rs 100 share be quoted when the m...

at what price 6.25% rs 100 share be quoted when the money is worth 5%

Maths Assignment, Hi, I really need an idea and a layout on where i should ...

Hi, I really need an idea and a layout on where i should take my Maths assignment. This is for Year 12, and i want to focus on Maths in Music. It has to be at least 6 to 12 pages l

Determining and classifying all the critical points, how do you determine ...

how do you determine and classify all the critical points of a function

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