Some trigonometric expressions can easily and quickly be simplified without 
ever calculating some of the functions in it just by using the known 
properties of the functions in the expression.

For example:

sin(2*pi)

is 0. So:

sin(pi*factorial(847937526693730893984732849857349))

is also 0. This does not require calculation of the factorial, but the 
property knowledge, that the result of the factorial is an even integer.

There are several other examples of expressions, like:

tan(pi*(1342^(87236487262873^(8732498237693269832+3)+5)-1))

is also 0. Several others:

cos(pi*(factorial(8629264243264^64862423642638763847)+1/2))

is 0.

Could this be implemented in sympy? So many other examples would be much 
faster to calculate.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/218ff008-9f3a-479e-8b4e-bca49d646294%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to