Re: Probability of random numbers chosen in [0,1]
- From: ellieandrogerxyzzy@xxxxxxxxxxxxxxxxxxxxxx (Roger Stafford)
- Date: Sat, 07 Jan 2006 21:00:54 GMT
In article <ef23401.-1@xxxxxxxxxxxxxxxx>, "Sandra Evag"
<sandra_evag@xxxxxxxxx> wrote:
> We choose two numbers in [0,1]. We want to find the probability their
> distance to be smaller than 0,5 and also the distribution of their
> distance. Could anyone help me? thank you in advance.
------------------
A little off-topic, but I'll answer it. Let x and y be the numbers. In
the unit square, 0<=x<=1, 0<=y<=1, the area of a region gives its
probability, since I presume your numbers are independently chosen. Draw
the lines y = x + .5 and y = x - .5 and you can immediately see that the
area between them is 3/4. Change the .5 to s and you can get a general
formula: 2*s-s^2.
(Remove "xyzzy" and ".invalid" to send me email.)
Roger Stafford
.
- References:
- Probability of random numbers chosen in [0,1]
- From: Sandra Evag
- Probability of random numbers chosen in [0,1]
- Prev by Date: Re: ? error code
- Next by Date: how to chang a value in simulink?
- Previous by thread: Probability of random numbers chosen in [0,1]
- Next by thread: Re: ODE help
- Index(es):
Relevant Pages
|
Loading