Help with coding taylor expansion of sin(x)

I wrote the Taylor expansion of cos(x), now I'm trying to do sin(x). Is the code similar? If so what changes do I do.

Answers (1)

Yes the code for sin(x) is similar to cos(x). You could Bing "Taylor Series for cos x" and click on the first link:

Categories

Find more on Interpolation in Help Center and File Exchange

Asked:

on 23 Apr 2015

Answered:

on 23 Apr 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!