When I solve this equation in Mathematica 8, I can get the right answer, but with some uncomfortable warnings.
Equation:
Solve[-26.81 == 194 k + k*l*32.9 && 22.2 == -74 k + k*l* 59.7, {k, l}]
Warnings:
Solve::ratnz: Solve was unable to solve the system with inexact coefficients. The answer was obtained by solving a corresponding exact system and numericizing the result. >>
If I transform the above equation to the following, then it works fine, but this is not convenient:
{k, kl/k} /. Solve[-26.81 == 194 k + kl*32.9 && 22.2 == -74 k + kl* 59.7, {k, kl}]
So my question is, how can I get rid of such warnings?
Quiet[]
, but it's cheating in a certain sense... $\endgroup$