XLPack 7.0
XLPack Numerical Library (Excel Worksheet Functions) Reference Manual
Loading...
Searching...
No Matches

◆ WChebu()

Function WChebu ( N As  Long,
X As  Double 
)

Chebyshev polynomial of second kind Un(x)

Purpose
This function computes the Chebyshev polynomial of the second kind Un(x).
Un-1(x) = sin(nt)/sin(t), where x = cos(t)
This polynomial follows the recurrence formula:
Un+1(x) = 2xUn(x) - Un-1(x), where U0(x) = 1, U1(x) = 2x (n > 0)
Returns
Chebyshev polynomial of second kind Un(x).
Parameters
[in]NArgument n. (N > 0)
[in]XArgument x.
Reference
boost/math/special_functions