[R] Finding solution

Berend Hasselman bhh at xs4all.nl
Tue Oct 11 06:19:56 CEST 2011


Bogaso wrote:
> 
> Dear all, I have a system of simultaneous equations with 2 unknowns as
> follows:
> 
> x*y + (1-x) = 0.05
> 
> x*(y - .5)^2 + (1-x)*0.6 = 0.56^2
> 
> Ofcourse I can do it manually however wondering whether there is any
> direct
> way in R available to get the solution of this system?
> 
> 

Look at the Task view Optimization.

Two packages for solving systems of nonlinear equations are available: 
nleqslv and BB.

Berend


--
View this message in context: http://r.789695.n4.nabble.com/Finding-solution-tp3887148p3892804.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list