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, 29 Aug 2016 10:20:14 +0200Solve trigonometric equationhttps://ask.sagemath.org/question/34624/solve-trigonometric-equation/ How do I solve simple trigonometric equation 2*cot(2x)=0?
I tried solve, but it gives me one solution, I need solution with n.
Thank you.Sun, 28 Aug 2016 23:23:50 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/Answer by mforets for <p>How do I solve simple trigonometric equation 2*cot(2x)=0?</p>
<p>I tried solve, but it gives me one solution, I need solution with n.</p>
<p>Thank you.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?answer=34625#post-id-34625With
```solve(2*cot(x)==0, x, to_poly_solve = 'force')```
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.
Sun, 28 Aug 2016 23:36:48 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?answer=34625#post-id-34625Comment by mforets for <p>With
<code>solve(2*cot(x)==0, x, to_poly_solve = 'force')</code>
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34628#post-id-34628Strange. I get $\pi/2 + \pi z$, see [here](https://sagecell.sagemath.org/?q=jdqvvo).Sun, 28 Aug 2016 23:52:52 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34628#post-id-34628Comment by proy for <p>With
<code>solve(2*cot(x)==0, x, to_poly_solve = 'force')</code>
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34630#post-id-34630Pay attention to argument of cotangent: it is 2x: see [here](https://sagecell.sagemath.org/?q=pjfytd)
See [equation solver](http://www.emathhelp.net/calculators/algebra-2/equation-solver-calculator/?f=2cot%282x%29%3D0&var=&sa=1&a=-inf&b=inf&sb=1) for correct answer.Mon, 29 Aug 2016 08:34:30 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34630#post-id-34630Comment by proy for <p>With
<code>solve(2*cot(x)==0, x, to_poly_solve = 'force')</code>
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34626#post-id-34626It doesn't work for `2*cot(2x)`. More precisely, `solve(2*cot(2*x)==0, x, to_poly_solve='force')` returns empty list.Sun, 28 Aug 2016 23:40:30 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34626#post-id-34626Comment by mforets for <p>With
<code>solve(2*cot(x)==0, x, to_poly_solve = 'force')</code>
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34632#post-id-34632Ok! Sorry, I don't know why does it return the empy list. Of course, a change of variables ```var('x, y')``` and ```solve([2*cot(y)==0, y==2*x], x, y, to_poly_solve = 'force')``` will do the job, but it's awkward..Mon, 29 Aug 2016 10:07:10 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34632#post-id-34632Comment by proy for <p>With
<code>solve(2*cot(x)==0, x, to_poly_solve = 'force')</code>
you will get all solutions, where $\pi z_{xx}$ should be interpreted as a multiple integer of $\pi$.</p>
https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34633#post-id-34633I agree...Mon, 29 Aug 2016 10:20:14 +0200https://ask.sagemath.org/question/34624/solve-trigonometric-equation/?comment=34633#post-id-34633