Representation of Formal Power Series
Description
Examples
Formal power series are procedures that return the coefficients of the power series they represent. Thus name⁡i is the coefficient of xi in the series called name.
The values of the coefficients are saved using a remember table, so all computed coefficients can be seen via op(4, op(name)).
The actual procedure is identical for all power series; the only differences are the general term and the values that each remembers.
The general term of the power series can be obtained via name(_k) .
Note that each intermediate power series created in a calculation should be named.
with⁡powseries:
powcreate⁡e⁡n=1n!,e⁡0=1:
powcreate⁡f⁡n=f⁡n−1n2⁢f⁡n−2,f⁡0=1,f⁡1=5,f⁡2=2:
tpsform⁡e,x,6
1+x+12⁢x2+16⁢x3+124⁢x4+1120⁢x5+O⁡x6
tpsform⁡f,x,6
1+5⁢x+2⁢x2+245⁢x3+1720⁢x4+1800⁢x5+O⁡x6
Compute the series f^e .
logf≔powlog⁡f:
elogf≔multiply⁡e,logf:
result≔powexp⁡elogf:
tpsform⁡result,x,6
1+5⁢x+7⁢x2+76745⁢x3+2351240⁢x4+39231800⁢x5+O⁡x6
See Also
powseries
Download Help Document