MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Quick "Random[]" question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41872] Re: [mg41831] Quick "Random[]" question
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Sat, 7 Jun 2003 11:44:56 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Obviously if you were dealing with a genuine continuous phenomenon 
there would be no difference. The probability of obtaining 0 and 1 
would be 0, and you would never see them (well, with probability 1, as 
they say). But as it is, note that:


x=Random[];

In[39]:=
x+10^-16==x

True

So you certainly have a finite probability of getting 0. (and 1.)  
although you would have to be pretty lucky (or unlucky) to actually do 
so.


Andrzej Kozlowski
Yokohama, Japan
http://www.mimuw.edu.pl/~akoz/
http://platon.c.u-tokyo.ac.jp/andrzej/

On Friday, June 6, 2003, at 10:51  pm, Jonathan Greenberg wrote:

> Is it possible to get 0.0 and 1.0 from Random[] (e.g. is the x=Random[]
> 0<=x<=1 or 0<x<1 ?)
>
> --j
>
>
>


  • Prev by Date: Re: transcendental equation
  • Next by Date: Re: Learning to work with non-commutative oscillators
  • Previous by thread: RE: Quick "Random[]" question
  • Next by thread: Re: RE: Quick "Random[]" question