On 25-04-2012, at 18:52, pannigh wrote:

> Dear List,
> I was wondering if there is a simple way to solve (equate) two functions in
> R. For example:
> 
> (1) 5x + 3y = 30
> (2) 12x - 2y = 26
> 
> I would like R to finde x = 3 and y = 5
> Is there an implemented function in R or would I have to write an own
> function?

And if your functions are nonlinear there is package nleqslv and BB.

Berend

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to