From: Jean-Julien Fleck Date: 2010-08-17T22:29:48+09:00 Subject: Re: can i do this in ruby? a simulation process Hello Bruce, > 50sec - 1min & 10sec ( 70sec? im a ryt? rand?) -> traveling time from B > -> A > 5-35sec (rand?) -> departure time for vehicles from B -> A > > i would like to know if you used rand() in departure time/traveling > time.. Yes, we did. But also when taking into account the number of passengers: in real life, on a certain amount of time, you don't know if there will be a tad more buses and a tad less monodrivers than in mean. The only thing you do know is that if you count for a very long time, you end up with the given percentages. Cheers, -- JJ Fleck PCSI1 Lycée Kléber