|
|
|
|
|
by OscarCunningham
2971 days ago
|
|
This works, but you don't get a probability of 2/3, because the cases aren't equally likely. There isn't a probability distribution for C such that for any A and B the probability of A<C<B is 1/3. We would have to have P(0<C<10)=1/3 and P(10<C<20)=1/3 and P(0<C<20)=1/3, which is impossible. |
|
https://jsfiddle.net/q4qbewp1/