ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 13 Apr 2011 23:35:51 -0500Solving complex equationhttp://ask.sagemath.org/question/8037/solving-complex-equation/I was trying to solve the following equation over the complex numbers: ``sin(z) + cos(z) = 2``
In Sage:
sage: z = var('z')
sage: solve(sin(z) + cos(z) == 2, z)
[sin(z) == -cos(z) + 2]
Obviously, that's not what I want. Wolfram|Alpha yields the two solutions in multiple forms: [http://www.wolframalpha.com/input/?i=cos%28z%29+%2B+sin%28z%29+%3D%3D+2](http://www.wolframalpha.com/input/?i=cos%28z%29+%2B+sin%28z%29+%3D%3D+2)
Can this be done in Sage?
Juanlu001Wed, 13 Apr 2011 23:35:51 -0500http://ask.sagemath.org/question/8037/