Aim of the applet
Interpolated by a straight line from two points and by a parabola if we have three points.
Input data
- Linear interpolation: Coordinates of two points.
- Quadratic interpolation: Coordinates of three points.
Output data
- Linear interpolation: Expression and drawing of the interpolation line.
Also a third point (blue) that are dragged
on the line, allows the interpolation to a specific value of x.
- Quadratic interpolation: Expression and drawing of the parabola
ax ^ 2 + bx + c of interpolation, showing a system that involves the calculation
coefficients of the parabola. A fourth point (blue) that,
to slide on the graph, allows the interpolation of a value at x.
First steps
- Build the line through P = (-1,0) and Q = (4.1) to interpolate the value at x = 2.
Using the mouse to change the values of P and Q and see how the image changes at x = 2.
- Build the parabola passing through A = (-1,0) and B = (2, -1) and C = (3.4) to interpolate the value at x = 0.
- Draw aligned three points and tries to build a parabola passing through the 3. What is the solution in this case?