I'm trying to use Mathematica to solve a set of equations. The data are experimental data and won't produce exact perfect answers for every equation. An approximate answer for each variable is acceptable.
I'm looking for insight into other techniques that might help me solve the set of equations other then Solve
. My code is below. The correct answer will solve for -18 < a < -19
. Any advice is appreciated.
Solve[{
4 a == -74.6,
3 a + b + f == -239.2,
a 5 + b 1 + c + f == -277.6,
a 6 + b 2 + d == -248.4,
a 7 + b 2 + c + f == -215.6,
a 10 + g + b 3 == -46.9,
a 12 + b 3 + c 2 == -313.6,
h 6 + j == 49.1,
a 12 + b 6 == -156.4},
{a, b, c, d, f, g, h, j}]
LeastSquares
? $\endgroup$