Comment #4 on issue 3896 by [email protected]: sum of three-phase cos^2 or cos^4 do not simplify to 3/2 and 9/8, respectively
http://code.google.com/p/sympy/issues/detail?id=3896

If you read the preamble to fu in fu.py and find the transform that specifically does what you want, you can then do a targeted simplification. Either TR8 or TR10 are good at preprocessing for you in the case of k=4:

simplify(FU['TR10'](eq))
9/8
simplify(FU['TR8'](eq))
9/8

You can find what will work like this:

for f in FU:
...  if simplify(FU[f](eq)) == S(9)/8: print f
...
TR8
TR10


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to