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

Marketing research, In pharmaceutical product research doctors visit the pl...

In pharmaceutical product research doctors visit the place to learn what

Math reasoning, The probability that a certain region in mexico will be hit...

The probability that a certain region in mexico will be hit by a hurricane in any given year is .06. What is the probability that the region will be hit by at least one hurricane i

Circle, #question when equation of tangent T=0 and why

#question when equation of tangent T=0 and why

Decision trees and sub sequential decisions, Decision Trees And Sub Sequent...

Decision Trees And Sub Sequential Decisions A decision tree is a graphic diagram of different decision alternatives and the sequence of events like if they were branches of a t

Circls, in a given figure a,b,c and d are points on a circle such that ABC ...

in a given figure a,b,c and d are points on a circle such that ABC =40 and DAB= 60 find the measure of DBA

Show that 571 is a prime number, Show that 571 is a prime number. Ans: ...

Show that 571 is a prime number. Ans:    Let x=571⇒√x=√571 Now 571 lies between the perfect squares of  (23)2 and (24)2 Prime numbers less than 24 are 2,3,5,7,11,13,17,1

How to converting percents to fractions, How to Converting Percents to Frac...

How to Converting Percents to Fractions ? To convert a percent to a fraction: 1. Remove the percent sign. 2. Create a fraction, in which the resulting number from Step 1 is

Constructions, Draw a line segment AB of length 4.4cm. Taking A as centre, ...

Draw a line segment AB of length 4.4cm. Taking A as centre, draw a circle of radius. 2cm and taking B as centre, draw another circle of radius 2.2cm. Construct tangents to each cir

Find the area of shaded region, Find the area of shaded region, if the side...

Find the area of shaded region, if the side of square is 28cm and radius of the sector is ½ the length of side of square.

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