[sage-support] Re: Periodic inabilitity of sin()

2012-04-22 Thread Duc Trung Ha
Thanks a lot for an explanatory reply :-) Unfortunately I still have some comments... I typed this instead, and got a nice line at 0: > > plot(simplify(sin((2*pi) + x) - sin(x)),-100,100) > This is not working for a little bit more complicated arguments, for instance, the second sin(x/pi

[sage-support] Re: Periodic inabilitity of sin()

2012-04-22 Thread Johan Grönqvist
2012-04-22 14:39, Duc Trung Ha skrev: Am I missing something or is this behavior rather peculiar: sage: bool(sin(x) == sin(x+2*pi)) True ...however: plot(sin(x) - sin(x+2*pi)) gives out the result: > [plot showing inaccuracies of floats] I typed this instead, and got a nice line at 0: plot