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.Sun, 16 Oct 2016 22:46:38 -0500What's this result of equation solving?http://ask.sagemath.org/question/35167/whats-this-result-of-equation-solving/Hi guys
I want to solve an equation that get from determinant of a matrix, but I cannot understand the result! Can anyone help me?
It's my code:
x = var('x')
A = Matrix([[0,1],[1,0]])
A = (I*x*A).exp()
A = A.determinant()
solve(A == 1,x,to_poly_solve ='force')
This is result!!!!!:
[x == 1/2*I*lambert_w(68)]
What is exactly that c68 (it's change every time!) [The result for equation should be pi/2]palidehxSun, 16 Oct 2016 22:46:38 -0500http://ask.sagemath.org/question/35167/Solving 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/