RE: [R] help with numerical solution for two simultaneous nonlinearequations in 2 variables

2004-09-17 Thread Ravi Varadhan
Hi, Suppose you have p equations in p unknowns: F1(x1,x2,...,xp) =0 . . . Fp(x1,x2,...,xp) = 0 You can solve the equivalent minimization problem: G(x1,x2,...,xp) = F1^2 + ... + Fp^2 = 0 So, you can use optim with G as your objective function. Hope this is helpful, Ravi. -Original

RE: [R] help with numerical solution for two simultaneous nonlinearequations in 2 variables

2004-09-17 Thread Joshi, Yogesh
Thank you - optim has solved my problem. Best regards, Yogesh -Original Message- Hi, Suppose you have p equations in p unknowns: F1(x1,x2,...,xp) =0 . . . Fp(x1,x2,...,xp) = 0 You can solve the equivalent minimization problem: G(x1,x2,...,xp) = F1^2 + ... + Fp^2 = 0 So, you can use

RE: [R] help with numerical solution for two simultaneous nonlinearequations in 2 variables

2004-09-16 Thread Charles Annis, P.E.
?optim will be helpful. Charles Annis, P.E. [EMAIL PROTECTED] phone: 561-352-9699 eFax: 503-217-5849 http://www.StatisticalEngineering.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshi, Yogesh Sent: Thursday, September 16, 2004 10:54 PM To: