From: Jean-Julien Fleck Date: 2010-08-17T18:39:54+09:00 Subject: Re: can i do this in ruby? a simulation process > Requirements: > 1. A simulation process of the movement of vehicles from one point to > another. > 2. The time (in minutes) for 500 people to arrive in the second city. > > i can't even think on how can i start this one in ruby a newbie like me > have only limited knowledge on ruby. can someone help with my program? You sure can do it in ruby but first you have to decide what ruby have to do for you: take a sheet of paper and write down the differents steps each Vehicle has to go throught in order to reach the second city. I'm sure you will see more clearly what you have to do next to implement each step. Hint: it have to do with probability distributions and you will most certainly need the metho 'rand' Cheers, -- JJ Fleck PCSI1 Lycée Kléber