Formal power series: Difference between revisions

m
(→‎{{header|Wren}}: Corrected previously unused inverseCoef method and added more examples.)
Line 1,745:
print(tangent(math.pi/3), tangent(math.pi/4), tangent(math.pi/6)) --something like 30000 function calls!</lang>
 
=={{header|Mathematica}}/{{header|Wolfram Language}}==
Mathematica natively supports symbolic power series. For example, this input demonstrates that the integral of the series of Cos minus the series for sin is zero to the order of cancellation.
<lang Mathematica>cos = Series[Cos[x], {x, 0, 10}];
1,111

edits