Student[NumericalAnalysis]
ExactValue
return specific value(s) of the exact function
Calling Sequence
Parameters
Description
Examples
ExactValue(p)
ExactValue(p, pts)
p
-
a POLYINTERP structure
pts
(optional) numeric, list(numeric); a point or list of points at which the value of the exact function is computed
The ExactValue command computes the value(s) of the exact function at specified point(s) pts or at the extrapolated point(s) from the POLYINTERP structure, depending on whether pts is given or not.
The exact values are returned in a list of the form [[pointi, exacti], [...], ...], i = 1..number of points.
If the ExactValue command is used on a POLYINTERP structure whose exact function was not originally specified, an exception will be raised.
The POLYINTERP structure is created using the PolynomialInterpolation command or the CubicSpline 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=ξ:
ExactValue⁡p1
0.25,2.378414230,0.75,−1.681792830,1.25,−1.189207114
ExactValue⁡p1,0.5,1.0
0.5,−5.801199657×10−10,1.0,−2.
See Also
Student[NumericalAnalysis][ApproximateExactUpperBound]
Student[NumericalAnalysis][ApproximateValue]
Student[NumericalAnalysis][ComputationOverview]
Student[NumericalAnalysis][CubicSpline]
Student[NumericalAnalysis][DataPoints]
Student[NumericalAnalysis][InterpolantRemainderTerm]
Student[NumericalAnalysis][PolynomialInterpolation]
Student[NumericalAnalysis][RemainderTerm]
Download Help Document