ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 17 Oct 2016 05:46:38 +0200What's this result of equation solving?https://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]palidehxMon, 17 Oct 2016 05:46:38 +0200https://ask.sagemath.org/question/35167/Solving complex equationhttps://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?
Juanlu001Thu, 14 Apr 2011 06:35:51 +0200https://ask.sagemath.org/question/8037/