Cosine function erro

12 views
Skip to first unread message

Shaun Ault

unread,
Sep 12, 2016, 1:31:08 PM9/12/16
to sage-support
Dear sage-support,

I'm getting the following unexpected results:

sage: cos(2*pi*4/7).n()
0.900968867902419
sage: cos((2*pi*4/7).n())
-0.900968867902419

What is going on here?  Clearly the result should be negative both times.

Thanks,
Shaun Ault

leif

unread,
Sep 12, 2016, 1:42:40 PM9/12/16
to sage-s...@googlegroups.com
Which version? (Works for me in 7.3.)


-leif


Reply all
Reply to author
Forward
0 new messages