Chebyshev series expansion
chebyshev(f, x=a..b, eps)
chebyshev(f, x, eps)
chebyshev(f, a..b, eps)
procedure or expression representing the function
variable name appearing in f, if f is an expression
numerical values specifying the interval of approximation
(optional) numeric value
This function computes the Chebyshev series expansion of f, with respect to the variable x on the interval a..b, valid to accuracy eps.
If the second argument is simply a name x then the equation x=−1..1 is implied.
If the second argument is a range then the first argument is assumed to be a Maple operator and the result will be returned as an operator. Otherwise, the first argument is assumed to be an expression and the result will be returned as an expression.
If the third argument eps is present then it specifies the desired accuracy; otherwise, the value used is eps=10−Digits. It is an error to specify eps less than 10^(-Digits).
The expression or operator f must evaluate to a numerical value when x takes on a numerical value. Moreover, it must represent a function which is analytic in a region surrounding the interval a..b.
The resulting series is expressed in terms of the Chebyshev polynomials T⁡k,x,... with floating-point series coefficients. If 'ser' is the Chebyshev series then conversion to ordinary polynomial form can be accomplished via eval(ser, T=orthopoly[T]).
The series computed is the ``infinite'' Chebyshev series, truncated by dropping all terms with coefficients smaller than eps multiplied by the largest coefficient.
Note: The name T used in representing the Chebyshev polynomials is a global name, so the user must ensure that this name has no previous value.
The command with(numapprox,chebyshev) allows the use of the abbreviated form of this command.
Digits ≔ 5:
Download Help Document
What kind of issue would you like to report? (Optional)