[R] solving a linear equation

Berend Hasselman bhh at xs4all.nl
Wed Nov 4 14:04:08 CET 2009



maram salem wrote:
> 
> Hi all,
> I've a linear equation of the form:
> 0.95=2 ( [3+ln(x/3)]^-13  + 4 [3+2ln(x/3)]^-13  + [3+4ln(x/3)]^-13 )
> 
> and I want to solve it for x, can I do this using R? 
> 

The equation is (highly) nonlinear.
Use uniroot.
Do plot your function for several different intervals. It has multiple
zeros.

Berend
-- 
View this message in context: http://old.nabble.com/solving-a-linear-equation-tp26195545p26195940.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list