English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The function
f(x) = x^(1/3)
is to be tabulated on the interval [1, 10] with constant mesh spacing.
(a) How many points are required for piecewise linear interpolation to yield five decimal places accuracy?
(b) What convenient step size would you choose in practise?

2007-08-06 21:11:10 · 1 answers · asked by David C 1 in Science & Mathematics Mathematics

1 answers

f"(x) = -2/9 x^(-5/3)
So if the mesh spacing is Δx then the maximum error is
|(Δx/2)^2 / 2! (-2/9) (1)^(-5/3)| = 1/9 (Delta;x/2)^2.
So we want 1/9 (Delta;x/2)^2 < 5×10^-6
=> Δx < 0.0134 (3 d.p.)
=> we need at least (10-1)/0.0134 = 670 points for accuracy to 5 d.p.

In practise, we'd use a step size of 0.01.

2007-08-06 21:33:23 · answer #1 · answered by Scarlet Manuka 7 · 0 0

fedest.com, questions and answers