I'm trying to find solutions to a fairly simple pair of simultaneous equations in variables $\phi_1, \phi_2$ using Reduce.
θ = Pi/8; (* e.g. 3.14 also doesn't work *)
points = Solve[
Reduce[{Sin[ϕ1] + 0.1 Sin[θ + ϕ1 + ϕ2] ==
0 && ϕ1 > -Pi && ϕ1 <= π &&
0.1 Sin[ϕ2] + 0.1 Sin[θ + ϕ1 + ϕ2] ==
0 && ϕ2 > -Pi && ϕ2 <= π} , {ϕ1, ϕ2}]]
However, Reduce seems to run into trouble when an external parameter $\theta$ in the equations is set to some decimal expansion, say 3.14 as opposed to $\pi$, and also when set to numbers around $\pi/8$. Reduce returns the empty list, while we know there are solutions. There are errors Reduce::ratnz
and Reduce::ztest1
:
PS: I will be scanning through many values of $\theta$ and also coefficients of the Sine functions so I need a fail proof way of finding all solutions in order to automate it.