Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Why is $sum( diff(sin(x),x,n), n,1,2)$ zero?

I was trying to define Taylor like series of functions, when I found out that

 var('x,n')
 sum( diff(sin(x),x,n), n,1,2)

yields 0. I have no idea what the correct syntaxis is. Why doesn't it yield $\cos(x)-\sin(x)$?

Why is $sum( diff(sin(x),x,n), n,1,2)$ zero?

I was trying to define Taylor like series of functions, when I found out that

 var('x,n')
 sum( diff(sin(x),x,n), n,1,2)

yields 0. I have no idea what the correct syntaxis is. Why doesn't it yield $\cos(x)-\sin(x)$?

Why is $sum( `sum( diff(sin(x),x,n), n,1,2)$ n,1,2)' zero?

I was trying to define Taylor like series of functions, when I found out that

 var('x,n')
 sum( diff(sin(x),x,n), n,1,2)

yields 0. I have no idea what the correct syntaxis is. Why doesn't it yield $\cos(x)-\sin(x)$?

Why is `sum( diff(sin(x),x,n), n,1,2)' zero?

I was trying to define Taylor like series of functions, when I found out that

 var('x,n')
 sum( diff(sin(x),x,n), n,1,2)

yields 0. I have no idea what the correct syntaxis syntax is. Why doesn't it yield $\cos(x)-\sin(x)$?give `diff(sin(x),x) +diff(sin(x),x,2)' (i.e. $\cos(x)-\sin(x)$)?

Why is `sum( diff(sin(x),x,n), n,1,2)' zero?

I was trying to define Taylor like series of functions, when I found out that

 var('x,n')
 sum( diff(sin(x),x,n), n,1,2)

yields 0. I have no idea what the correct syntax is. Why doesn't it give `diff(sin(x),x) +diff(sin(x),x,2)' (i.e. $\cos(x)-\sin(x)$)?