[R] analytic solution for equation

Barry Rowlingson B.Rowlingson at lancaster.ac.uk
Fri Jul 9 18:44:40 CEST 2004


Stephane Dray wrote:

> For example:
> I would like to obtain x1 from:
> x1+x2=8  (x1=8-x2)
> 
> x1^2+x2=8 (x1=sqrt(8-x2))
> 
> 
> Is is possible in R ? if not, do you know a (free) software that could do the job ?

  You want a computer algebra system. Try 'maxima', free, and from here:

  http://maxima.sourceforge.net/

  Of course its possible to do in R, you'd just have to rewrite most of 
maxima....

Barry




More information about the R-help mailing list