Skip to content
Prev 23075 / 398502 Next

solving equations

On Fri, 30 Aug 2002, Antonio Olinto wrote:

            
Use uniroot()

R> uniroot(function(F) F-25*(F+0.2)/22.2/(exp(F+0.2)-1), c(0,10))
$root
[1] 0.695973

$f.root
[1] -9.561183e-06

$iter
[1] 4

$estim.prec
[1] 6.103516e-05


	-thomas

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._