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 Aug 2015 19:38:14 +0200how to get simplified result of solving equationhttps://ask.sagemath.org/question/28853/how-to-get-simplified-result-of-solving-equation/Hi there!
In a linear algebra assignment I have the following equation I need to find a solution for:
`-2*sqrt(3)*sin(t)^2+2*cos(t)*sin(t)+sqrt(3)==0`. I know the result is pi/3.
Now, when I use solve, `solve(-2*sqrt(3)*sin(t)^2+2*cos(t)*sin(t)+sqrt(3)==0, t)`. I get:
[sin(t) == -1/6*sqrt(3)*(sqrt(cos(t)^2+6)-cos(t), sin(t) == 1/6*sqrt(3)*sqrt(cos(t)^2+6)+cos(t))].
How do I use the solve function to get the more simplified result?
NB: I have also tried to use `find_root` and different simplify functions, but also without any luck. I am new to sage, so it is quite possible that I don't know a specification to the solve function which I should use.
Thank you in advance!
Sincerly SimonismonMon, 17 Aug 2015 19:38:14 +0200https://ask.sagemath.org/question/28853/