FWIW have you already been able to solve this equation system? Have you
tried with a tool like Excel Solver or ASCEND or Maxima or GAMS first?
Once you have shown that the equations solve and behave nicely, you can
try coding them up in low-level C code, but it generally easier to use a
higher-level tool first up. Perhaps you already did this -- just checking.
Olumide wrote:
Slight correction: equations 2 and 3 should be equated to zero.
Equation 2:
x + z(b + 2.d.x + e.y + w[0].(Log r[0] + K).(x - g[0]) + ... +
w[n].(Log r[n] + K).(x - g[n])
Equation 3:
y + z(c + 2.f.y + e.x + w[0].(Log r[0] + K).(x - h[0]) + ... +
w[n].(Log r[n] + K).(y - h[n])
where r[i] = [(x - g[0])^2 + (y - h[0])^2]^0.5
and a, b, c, d, e, f, g[.], h[.], and K are constants.
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl
_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl