powseries
powcos
compute the formal power series equal to the cosine of an expression
Calling Sequence
Parameters
Description
Examples
powcos(p)
p
-
formal power series, polynomial, or any function that is acceptable for power series package
The function powcos(p) returns the formal power series that is equivalent to cos(p).
The powseries function evalpow accepts the form in either powcos, Cos, or cos.
The command with(powseries,powcos) allows the use of the abbreviated form of this command.
with⁡powseries:
a≔powcos⁡x+1:
b≔tpsform⁡a,x,5
b≔cos⁡1−sin⁡1⁢x−12⁢cos⁡1⁢x2+16⁢sin⁡1⁢x3+124⁢cos⁡1⁢x4+O⁡x5
c≔evalpow⁡Cos⁡log⁡1+x:
d≔tpsform⁡c,x,5
d≔1−12⁢x2+12⁢x3−512⁢x4+O⁡x5
e≔powdiff⁡powcos⁡x:
f≔tpsform⁡e,x,6
f≔−x+16⁢x3−1120⁢x5+O⁡x6
g≔evalpow⁡tan⁡x2:
h≔tpsform⁡g,x,10
h≔x2+13⁢x6+O⁡x10
See Also
powexp
powsin
Download Help Document