Skip to content

Main content

Quadratic Midpoint Error From Curvature Tool

Calculate quadratic midpoint error from curvature from explicit caller-supplied inputs.

Loading tool…

Description

Return curvature × span² / 8 for interpolantMinusFunction with positive span.

An interpolation weight, geometric extrapolation distance, and mathematical error bound describe different quantities. A curvature-based bound needs assumptions about the underlying function, not just a computed coordinate.

Return curvature × span² / 8 for interpolantMinusFunction with positive span.

When to use this tool

Use Quadratic Midpoint Error From Curvature when you need one explicit interpolation error or amplification component.

How to use the tool and how it works

  1. Enter curvature, span. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read interpolantMinusFunction. Use the output convention below.

Return curvature × span² / 8 for interpolantMinusFunction with positive span.1

Input fieldMeaning and unitsAccepted input
curvatureSupplied second derivative in value per squared-coordinate units.Required. Finite number.
spanCoordinate interval width; its unit must match the derivative convention.Required. Finite number; strictly above 0.
Output fieldInterpretationReturned shape
interpolantMinusFunctionSigned midpoint linear-interpolation error in value units under the supplied curvature model.Required. Finite number.
json
{
  "input": {
    "curvature": 2,
    "span": 4
  },
  "output": {
    "interpolantMinusFunction": 4
  }
}

Limitations and assumptions

  • The sign is linear-interpolant minus function at the midpoint for the supplied curvature convention; arbitrary-function error needs a valid curvature model or bound.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Establish valid derivative bounds and compare methods or measurements before claiming a prediction-error guarantee.

References

  1. Calculation and input contract: interpolation/quadratic-midpoint-error-from-curvature — tool.io

Similar or alternative tools