Student[NumericalAnalysis]
ApproximateExactUpperBound
compute approximate, exact and upper bound remainder term values
Calling Sequence
Parameters
Description
Notes
Examples
ApproximateExactUpperBound(p)
ApproximateExactUpperBound(p, pts)
p
-
a POLYINTERP structure
pts
(optional) algebraic, list(algebraic); the point(s) at which the approximating polynomial, the exact value(s) of the function, and the upper bound(s) of the remainder term are computed
The ApproximateExactUpperBound command computes three values: the approximating polynomial, the exact value of the function and the upper bound of the remainder term, for each point specified in pts.
If pts is not specified, the extrapolated points in the given POLYINTERP structure are used instead.
The computed values are returned in the form of a list: [pts, approximate values, exact values, upper bounds].
The POLYINTERP structure is created using the PolynomialInterpolation command.
POLYINTERP structures whose interpolation method is the cubic spline method may not be used with this command.
with⁡StudentNumericalAnalysis:
xy≔0,4.0,0.5,0,1.0,−2.0,1.5,0,2.0,1.0,2.5,0,3.0,−0.5
p1≔PolynomialInterpolation⁡xy,function=22−x⁢cos⁡π⁢x,method=lagrange,extrapolate=0.25,0.75,1.25,errorboundvar=ξ:
ApproximateExactUpperBound⁡p1
0.25,2.685058594,2.378414230,1.793805002,0.75,−1.746582031,−1.681792830,0.4892195460,1.25,−1.166503906,−1.189207114,0.2717886368
ApproximateExactUpperBound⁡p1,0.5,1.5
0.5,0.,−5.801199657×10−10,0.,1.5,0.,8.701799482×10−10,0.
See Also
Student[NumericalAnalysis][ComputationOverview]
Student[NumericalAnalysis][ExactValue]
Student[NumericalAnalysis][InterpolantRemainderTerm]
Student[NumericalAnalysis][PolynomialInterpolation]
Student[NumericalAnalysis][RemainderTerm]
Download Help Document