I am trying to solve a system with two transcendental equations and an additional condition and it does not work the way I want it to.
I am using this table with coefficients
coeff = {-9.59079, -7.62064, 0.154122}
and the code for solving the system is
FindRoot[{Cos[x]/x == -coeff[[1]],
Cos[y]/y == -coeff[[2]],
x == y + coeff[[3]]/R},
{{x, .01}, {y, .01}, {R, .1}},
AccuracyGoal -> Infinity][[1, 2]]
Now you can see that I used AccuracyGoal -> Infinity
hoping the error would vanish, but it does not! The error saying:
The line search decreased the step size to within tolerance specified \ by AccuracyGoal and PrecisionGoal but was unable to find a sufficient \ decrease in the merit function. You may need more than \ MachinePrecision digits of working precision to meet these tolerances.
Is still there. I even tried with PrecisionGoal
, changing MachinePrecision
and nothing works. I am loosing my mind here.
EDIT: In case this is useful information: The initial values I gave 1/100 and 1/10 are simply my guess based on nothing actually.