Skip to content
Back to formatted view

Raw Message

Message-ID: <200411011355.iA1DtB29028664@hypatia.math.ethz.ch>
Date: 2004-11-01T13:55:31Z
From: ivo_welch-rstat8783@mailblocks.com
Subject: non-linear solve?
In-Reply-To: <200411011112.iA1B5E8T016751@hypatia.math.ethz.ch>

hi:  could someone please point me to a function that allows me to 
solve general non-linear functions?

   > irr.in <- function(r, c1, c2, c3 ) {  return(c1+c2/(1+r) + 
c3/(1+r)^2); }
  > solve.nonlinear( irr.in, -100, 60, 70 );
  0.189

If someone has written an irr function, this would be helpful, 
too---though not difficult to write, either.  thanks for any pointers.

Regards,

/iaw
---
ivo welch