help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] (A newbie asks) How to program multidimensional root solver?


From: Olumide
Subject: [Help-gsl] (A newbie asks) How to program multidimensional root solver?
Date: Thu, 19 Jun 2008 05:15:37 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

Hello,

I'm terribly new to GSL - I only just downloaded it yesterday. I'm trying to solve the following three non-linear simultaneous equations for x, y, and z:

Equation 1:
a + b.x + c.y + d.x^2 + e.x.y + f.y^2 + r[0]^2.Log r[0].w[0] + ... r[n]^2.Log r[n].w[n] = z

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.

I've been staring at the example on http://tinyurl.com/5maz7e all day, and its not coming together at all. Is there a simpler tutorial I can learn from? I'd appreciate any pointers. Thanks,

- Olumide






reply via email to

[Prev in Thread] Current Thread [Next in Thread]