** SCJP 5.0 84% **
** SCWCD 1.5 76% **
No more Blub for me, thank you, Vicar.
- Varun
Varun Khanna wrote:Perhaps (20/60) * (20/60) = 0.11?
Disclaimer: been decade and a half since I worked on probability![]()
The total number of possibilities for having lunch is 40.
Ulf Dittmer wrote:
The total number of possibilities for having lunch is 40.
I don't think that's the right approach. The question specifically said to take seconds into account as well.
It's also possible that a person will take less than 20 minutes (we don't know if that was allowed by the original question, though).
It's also possible that a person will take less than 20 minutes
That makes 41, not 40. It's like indices in an array.Deepak Bala wrote: . . . The total number of possibilities for having lunch is 40.
0-20
1-21
2-22
...
40-60 . . .
Campbell Ritchie wrote:
That makes 41, not 40. It's like indices in an array.Deepak Bala wrote: . . . The total number of possibilities for having lunch is 40.
0-20
1-21
2-22
...
40-60 . . .
Chrix Wu wrote:
what is the probability that both people are in the cafeteria (even 1 second counts) ?
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
fred rosenberger wrote:Considering that it is right now 8:00 a.m., the probability is zero
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Chrix Wu wrote:in a company, employee are allowed to go for lunch between 1:00pm and 2:00pm,
Chrix Wu wrote:what is the probability that both people are in the cafeteria (even 1 second counts) ?
The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Varun Khanna wrote:Perhaps (20/60) * (20/60) = 0.11?
Disclaimer: been decade and a half since I worked on probability![]()
** SCJP 5.0 84% **
** SCWCD 1.5 76% **
luck, db
There are no new questions, but there may be new answers.
luck, db
There are no new questions, but there may be new answers.
luck, db
There are no new questions, but there may be new answers.
Campbell Ritchie wrote:I would have thought the probability of the two meeting is independent of the number of employees.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Bring out your dead! Or a tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
|