Pipeng Toolbox : Lagrange Polynomial Calculators Login
Short Cuts
GO
Main ±
Beams ±
References ±
Fluid Flow ±
Fluid Properties ±
Maths ±
Materials ±
Pipelines ±
Soils ±
Subsea ±
Data ±
Units ±
Help ±
Demo

Maths Lagrange Polynomial Interpolation

Calculate a Lagrange polynomial to fit the data points. The polynomial passes through all the data points.

Higher order polynomials may be cyclic (lower order polynomials are preferred). The slope and curvature are not continuous. Extrapolated values should be used carefully.

For vector data calculators enter the data as X,Z pairs separated by a comma or tab, with each pair on a new line. Or copy and paste the data points from a spreadsheet. For array data calculators, enter the X and Z values as separate comma or tab separated lists. Use the data plot option on the plot bar to display the data points and the Lagrange polynomial.

Change Module :

Related Modules :

[FREE] tools are free in basic mode with no login (no plots, tables, goal seek etc). Login or Open a free account to use the tools in plus mode (with plots, tables, goal seek etc).
[PLUS] tools are free in basic CHECK mode with Login or Open a free account (CHECK values no plots, tables, goal seek etc). Buy a Subscription to use the tools in plus mode (with plots, tables, goal seek etc).
Try plus mode using the Plus Mode Demo tools with no login.   Help Using The Pipeng Toolbox (opens in the popup workbook)

Links : ±
CALCULATOR : Lagrange Polynomial Interpolation Linear Quadratic Cubic Quartic Or Quintic Polynomial (Vector Data) [FREE]   ±

Calculate Lagrange linear, quadratic, cubic, quartic, quintic, or nth degree polynomial interpolation from vector data points.

Enter data as comma separated pairs (X,Z), with each pair on a new line (or copy and past cells from a spreadsheet). Select the type of polynomial. The calculator will automatically change the polynommial type if there are not enough data points. The nth degree polynomial uses all of the data points.

Tool Input

  • ntype : Number Of Polynomial Terms
  • OOR : Out Of Range Extrapolation Type
  • Xdata : X Data Values
  • Zdata : Z Data Values
  • X : X Value

Tool Output

  • Z : Z Value

CALCULATOR : Polynomial Coefficients And Interpolation (Vector Data) [FREE]   ±

Calculate polynomial coefficients and interpolate values from data points.

Enter data as comma separated pairs (X,Z), with each pair on a new line, or copy and past cells from a spreadsheet. The data should be in ascending order.

The polynomial value, slope and curvature are calculated at either the user defined X, the root or zero, the maximum or minimum, or the point of inflection. The maximum and minimum can only be calculated for polynomials of second order or greater. The point of inflection can only be calculated for polynomials of third order or greater. The root, maximum or minimum, or point of inflection must be real.

The user defined Xu value is used as the initial guess value for calculating the root and other points. Use the Result Plot option to plot the polymomial value, slope and curvature versus X, and to determine suitable guess values for Xu.

Tool Input

  • ptype : Polynomial Calculation Type
    • Xu : User Defined X Value or Guess Value
  • Xdata : X Data Values
  • Zdata : Z Data Values

Tool Output

  • C : Polynomial Curvature At X
  • P : Polynomial Value At X
  • S : Polynomial Slope At X
  • X : X Value (Input, Root, Maximum or Minimum, Or Inflection Point)
  • cvg : Convergence (== 1)
  • |M| : Matrix Determinant (!= 0)