gistlib
main.msyms x n; f = x; for i = 1:10 f = f + (-1)^(i)*x^(2*i+1)/factorial(2*i+1); % Taylor series for sine function end 117 chars6 lines
syms x n; f = x; for i = 1:10 f = f + (-1)^(i)*x^(2*i+1)/factorial(2*i+1); % Taylor series for sine function end
gistlibby LogSnag