How can I get a Taylor expansion of the Sin[x] function by the power series?
1 Answer
If you're new to Mathematica, then it might make sense to explore these kinds of basic things via the natural language interface. Assuming that you're connected to the internet, so Mathematica can access WolframAlpha's servers, just type
= power series sinx
Note that the equals sign will be reformatted to look like it's part of the WolframAlpha input window. The input and output taken together should look like so:
In addition to generating the series, this also shows you the precise Mathematica syntax to get the series - useful for when you graduate to higher level Mathematica usage!
It can be quite good at guessing your intent. In this particular case, we can type in the exact title of your question and get the correct result!
-
$\begingroup$ +1 very nice intro ;) I would also explore general
SeriesCoefficient[Sin[x], {x, 0, n}]
$\endgroup$ Nov 14, 2012 at 6:32 -
2$\begingroup$ +1, and now you've got 110 rep points for not using Mma! Nice! $\endgroup$ Nov 14, 2012 at 13:51
Series
in the documentation. $\endgroup$