Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium

New issue 2743 by [email protected]: expand_trig should work for hyperbolic trig functions
http://code.google.com/p/sympy/issues/detail?id=2743

In [155]: cosh(x + y).expand(trig=True)
Out[155]: cosh(x + y)

In [156]: cos(x + y).expand(trig=True)
Out[156]: -sin(x)⋅sin(y) + cos(x)⋅cos(y)

The answer should be

In [158]: cos(x + y).expand(trig=True).subs({x: I*x, y:I*y})
Out[158]: sinh(x)⋅sinh(y) + cosh(x)⋅cosh(y)


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to