An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20091104/4a0659e8/attachment-0001.pl>
solving a linear equation
3 messages · maram salem, Karl Ove Hufthammer, Berend Hasselman
On Wed, 4 Nov 2009 04:34:36 -0800 (PST) maram salem
<marammagdysalem at yahoo.com> wrote:
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?
Yup. Use the 'uniroot' function (assuming that your equation only has one solution). BTW, your equation doesn't look very linear to me ...
Karl Ove Hufthammer
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.