Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: -1.#IND00 in matlab
Posted:
Jan 2, 2013 12:57 PM
|
|
majeti dinesh <dinesh.majeti@gmail.com> wrote in message <20997ad8-3b92-46bc-8b83-49a884e03165@googlegroups.com>... > I am obtaining the value -1.#IND0 in computing a value. > > The formula used for the computation is > > r = s + u2*sqrt(u1/(1-u1)) where u2 and u1 are uniform random numbers between [0 1].
What is the value of r if u1 = 1 and u2 = 1? What is the value of r if u1 = 1 and u2 = 0?
Bruno
|
|
|
|