How can I get a Taylor expansion of the Sin[x] function by the power series?


closed as off-topic by J. M. is away Apr 2 '18 at 17:15

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question arises due to a simple mistake such as a trivial syntax error, incorrect capitalization, spelling mistake, or other typographical error and is unlikely to help any future visitors, or else it is easily found in the documentation." – J. M. is away
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 10
    $\begingroup$ Look at Series in the documentation. $\endgroup$ – JohnD Nov 14 '12 at 2:20

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:

enter image description here

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!

enter image description here

  • $\begingroup$ +1 very nice intro ;) I would also explore general SeriesCoefficient[Sin[x], {x, 0, n}] $\endgroup$ – Vitaliy Kaurov Nov 14 '12 at 6:32
  • 2
    $\begingroup$ +1, and now you've got 110 rep points for not using Mma! Nice! $\endgroup$ – Dr. belisarius Nov 14 '12 at 13:51

Not the answer you're looking for? Browse other questions tagged or ask your own question.