Interpolation and Prediction
using Collocation Polynomial

Instructions are at the bottom of the page.


Purpose of the calculations carried out here is to estimate values of many times differentiable real function of real variable in points not too distant from several points in which its values are exactly known. Given n pairs of numbers x,y second of which is the exact value of the examined function in the point represented by the first, we construct a polynomial degree n - 1 or less having in the points x the same values as the the function. The value of the function in any other point is then estimated as equal to the value of the polynomial in that point. First applet constructs the collocation polynomial. Type the pairs of numbers in the left input field,one pair per line, numbers separated by spaces. The click submit. Graph of the polynomial appears above the text fields and the right text field contains the coefficients of the polynomial in column vector form, starting at the top with coefficient at zero power of independent variable and ending with the coefficient at power equal to the degree of the polynomial. Second applet calculates values of any polynomial and its first and second derivative in any point x. Type the coefficients of the polynomial in column vector form in left input field and click enter or click copy to transfer the polynomial found in the first applet to the second. Then type the desired value of the independent variable in the upper right input field and click calculate. To clear any input field under focus pres F2.

If you are using MSIE 4 you may not like the peformance of input text areas where the cursor disappears for a noticeable time after each character typed. Navigator 4.5 and Java 2 do not have this problem.

Back to INDEX.    Download    Applets:InterpolApplet(NAME="Producer"), PolyEvalApplet