I noticed the following difference, and I wonder if it's a problem of my system or the results difference is actually due to the two different versions
oldsa = {0.29289321881345254` -
0.6666666666666666` Sin[0.5235987755982988` + phi] ==
0.75` Cos[psi1], -0.7071067811865475` + h +
0.6666666666666666` Cos[0.5235987755982988` + phi] ==
0.75` Sin[psi1], -0.5` +
0.6666666666666666` Sin[0.5235987755982988` - phi] ==
0.75` Cos[psi2], -0.4660254037844386` + h +
0.6666666666666666` Cos[0.5235987755982988` - phi] ==
0.75` Sin[psi2]}
NSolve[oldsa, {h, phi, psi1, psi2}]
gives solutions in Mathematica version 7, and no solution in ver. 8 Both run on Ubuntu 12.04 x64 Do you get the same resuts?
ver.7
andver.9
yielding a list of 24 solutions and also this message :NSolve::ifun: Inverse functions are being used by NSolve, so some solutions may not be found; use Reduce for complete solution information. >>
but it does not work inver.8
i.e. it yields{}
. $\endgroup$/. 0.5235987755982988` -> π/6
it DOES produce a solution $\endgroup$oldsa2 = oldsa/. 0.5235987755982988` -> π/6
(i.e. copy-paste the numerical value from within the trig functions and replace it with its symbolic equivalent), thenNSolve[oldsa, {h, phi, psi1, psi2}]
gives{}
andNSolve[oldsa2, {h, phi, psi1, psi2}]
gives a list of solutions of length 24! $\endgroup$