Recent content by Tuttle917
-
T
MATLAB MATLAB for-loop to compute Taylor series of cos(x) for any n
I was hoping somebody would be able to help me as I am pretty new to Matlab. I am trying to create a for-loop to describe the taylor series expansion of cos(x)= (-1)^n*x^2n/(2n)! and to see how it converges towards cos(x). Below is the code that I have used to plot the different orders of n, but...- Tuttle917
- Thread
- Expansion Matlab Series Taylor Taylor series
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX