[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fsolve - more params, how ?
From: |
John W. Eaton |
Subject: |
fsolve - more params, how ? |
Date: |
Tue, 19 Jan 1999 00:36:40 -0600 (CST) |
On 19-Jan-1999, Butora Robert (NTC/Espoo) <address@hidden> wrote:
| fsolve goes like:
|
| fsolve(fname,x0) where: y=fname(x)
|
| Trying to solve Kepler's equation:
|
| M = E - e*sin(E) -> f(x)=M-(x-e*sin(x))
|
| How to pass more then 1 parameter ('M' and 'e')
| to the fname function besides the unknown 'x' ?
Use global variables.
jwe