ASKSAGE: Sage Q&A Forum - Individual question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Mon, 02 Sep 2019 12:03:04 -0500how do I enter 2sin|1−3√2|cos|1+ 2√3|https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/when I enter it in SageMath as `2 * sin * abs(1-3 * sqrt(2))*cos*abs(1+2 * sqrt(3))` it does not run the code? your help would be very appreciated :)Mon, 02 Sep 2019 10:44:08 -0500https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/Comment by ariaaaaaaaa for <p>when I enter it in SageMath as <code>2 * sin * abs(1-3 * sqrt(2))*cos*abs(1+2 * sqrt(3))</code> it does not run the code? your help would be very appreciated :)</p>
https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/?comment=47726#post-id-47726oh I see, it seems I did not enter the correct amount of parentheses for the problem. thank you for the help :)Mon, 02 Sep 2019 12:03:04 -0500https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/?comment=47726#post-id-47726Comment by dazedANDconfused for <p>when I enter it in SageMath as <code>2 * sin * abs(1-3 * sqrt(2))*cos*abs(1+2 * sqrt(3))</code> it does not run the code? your help would be very appreciated :)</p>
https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/?comment=47723#post-id-47723The problem you've written makes no sense. Please clarify: What is the argument for sin? Should sin * be sin( ? If so where should the closing parenthesis be? Same could asked for cos. Assuming you mean 2 * sin(abs(1-3 * sqrt(2)))*cos(abs(1+2 * sqrt(3))) then I have Sage running without a problem, with an answer of about 0.049579.Mon, 02 Sep 2019 11:03:15 -0500https://ask.sagemath.org/question/47722/how-do-i-enter-2sin1-32cos1-23/?comment=47723#post-id-47723