Skip to content
Back to formatted view

Raw Message

Message-ID: <476251AD.2020501@statistik.uni-dortmund.de>
Date: 2007-12-14T09:49:33Z
From: Uwe Ligges
Subject: can I solve this equation in	R----29.040x+1=327.727x^(355.768x/(1-x))
In-Reply-To: <BAY141-DAV241281A93A369D45678CEF0670@phx.gbl>

Well, numerically by re-writing

-29.040x+1 = 327.727x^(355.768x/(1-x))
0 = 327.727x^(355.768x/(1-x)) - (-29.040x+1)
0^2 = (327.727x^(355.768x/(1-x)) - (-29.040x+1))^2

and then minimizing the right hand side:

optimize(function(x)
         (327.727 * x^(355.768*x / (1-x)) - (-29.040*x + 1))^2,
     interval = c(0, 1))


Uwe Ligges



Xin wrote:
> -29.040x+1=327.727x^(355.768x/(1-x))
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.