SUNY Geneseo Department of Mathematics
Tuesday, March 24
Math 222 01
Spring 2015
Prof. Doug Baldwin
taylor1 = function( x ) {
n = seq( 0, 50 )
a = x^(2*n+1) / factorial(2*n+1) * (-1)^n
sum( a )
}
taylor2 = function( x ) {
n = seq( 0, 50 )
a = x^n / factorial(n)
sum( a )
}