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

Decimals, how will the decimal point move when 245.398 is multiplied by 10

how will the decimal point move when 245.398 is multiplied by 10

Find the frame of a quadratic polynomial , If α, β are the zeros of the pol...

If α, β are the zeros of the polynomial x 2 +8x +6 frame a Quadratic polynomial whose zeros are a)  1/α and  1/β b) 1+ β/α , 1+ α/β. Ans. P(x) = x 2 +8x +6 α + β = -8

Find the solution to initial value problem, Illustration:   Find the soluti...

Illustration:   Find the solution to the subsequent IVP. ty' + 2y = t 2 - t + 1,      y(1) = ½ Solution : Initially divide via the t to find the differential equation in

I NEED HELP WITH A MATH PROJECT., HOW MUCH WILL A NEW CAR COST? THE AVERAGE...

HOW MUCH WILL A NEW CAR COST? THE AVERAGE COST OF A NEW CAR IN 1990 WAS $14371. IN 2003 THE AVERAGE COST HAD RISEN TO $22360. WHAT IS THE AMOUNT OF THE MONTHLY PAYMENT? THE AMOUNT

Index numbers, What are advantages and disadvantages of both Laspeyres and ...

What are advantages and disadvantages of both Laspeyres and Paasche?

Customer arithmetics, what is $6500 jamaican dollars in european money if ...

what is $6500 jamaican dollars in european money if jamaican $160.13 = 1 european money

Use mathematical induction and prove equation, 1. Use mathematical inductio...

1. Use mathematical induction to prove whenever n is a positive integer. 2. Use loop invariant to prove that the program for computing the sum of 1,...,n is correct.

Run a chi-square test, Download the data on Gas Mileage.  This is a sample ...

Download the data on Gas Mileage.  This is a sample of 81 passenger cars with information about gas consumption and other technical details.     a.        Estimate the following

, What is 124 out of 300 in percent

What is 124 out of 300 in percent ?

Exponents, i need help with exponents and how to add them

i need help with exponents and how to add them

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