2
$\begingroup$

I am trying to solve $x/sin(x) = a$ for $x$, where $a$ is a constant. But I can't seem to find a closed form solution for it.

$\endgroup$
3
  • 1
    $\begingroup$ Similar answer:math.stackexchange.com/questions/2317900/… Try numericaly: sol[a_] := NSolve[x/Sin[x] == a && -2 Pi < x < 2 Pi, x, Reals]; sol[2] $\endgroup$ – Mariusz Iwaniuk Jun 2 '18 at 7:20
  • 1
    $\begingroup$ This does not seem to be a question specific to Mathematica. $\endgroup$ – Daniel Lichtblau Jun 2 '18 at 13:48
  • 1
    $\begingroup$ Your equation is equivalent to the Kepler equation, which has no solutions in elemental functions $\endgroup$ – yarchik Jun 2 '18 at 14:40
2
$\begingroup$

The function contains poles where sin[x]==0. As the function is a periodic function, many solutions exist for x/sin[x]==a. So, one has to solve these kinds of problems numerically. Please follow @Mariusz Iwaniuk with appropriate bounds for x based on requirement.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.