"LordElric" <lordelric@[EMAIL PROTECTED]
> wrote in message
news:67rb34ta9fo0j0m69m589oi6mmdv7fqr95@[EMAIL PROTECTED]
>
> I need to be able to solve multiple equations that share variables, or
> come up with a best fit. For instance
>
> A + D + C + F = 100
> D + R + F + M = 100
> D + R + Z + Q + N = 100
>
> I need to be able to calculate a best fit solution for this. Is this
> a really a problem best solved by a linear best fit approach or
> something else? I've been able to find little that references a
> problem such as this.
>
> Any help would be greatly appreciated.
>
> Thanks!
> Jon
&&&
Greetings Jon and others reading this,
To solve multiple equations first count the equations and count the
variables.
There are special cases (exceptions to these three) that I won't mention
again in this post.
In general consider these cases:-
1) If there are more variables than equations, there are many solutions.
2) If the number of variables and equations are the same, there is one
solution.
3) If there are less variables than equations, there are no solutions.
I don't know what you mean by best fit; maybe that could apply to case 3.
Given is a "For instance". The only conditions are three linear
equations.
I assume that the letters A, C, D, F, M, N, Q, R and Z are variables when
in
upper case, that the variables might have any value zero, above zero or
below zero. There are more variables than equations so there are many
solutions.
To me, the simplest solution is to let D = 100 and let all other variables
be zero. This satisfies the three equations and I think it is a perfect
fit. Do you have other conditions that would make this solution
unacceptable? There are many other solutions but I don't think the term
"best fit" applies.
--
Dan in NY
(for email, exchange y with g in
dKlinkenbery at hvc dot rr dot com)


|