[R] Solving two nonlinear equations and two knowns

Dieter Menne dieter.menne at menne-biomed.de
Fri Jul 17 18:45:01 CEST 2009




yhsu6 wrote:
> 
> I have two nonlinear equations, f1(x1,x2)=0 and f2(x1,x2)=0. I try to use
> optim command by minimize f1^2+f2^2 to find x1 and x2. I found the optimal
> solution changes when I change initial values. How to solve this?
> 
> BTW, I also try to use grid searching. But I have no information on ranges
> of x1 and x2, respectively.
> 
> 

See:

http://markmail.org/message/w7bymjr6awihos73

But if you have no idea of the ranges of x1 and x2, it will be difficult.


Dieter


-- 
View this message in context: http://www.nabble.com/Solving-two-nonlinear-equations-and-two-knowns-tp24530580p24537929.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list