- 0of 0 votes
Sherlock rolls a N faced die M times. He adds all the numbers he gets on all throws. What is the probability that he has a sum of K.- gdg July 01, 2014 in United States
A N faced die has all numbers from 1 to N written on it and each has equal probability of arriving when dice is thrown.
1 5 2
2 3 2
For first testcase, sum=1,2,3,4,5 are all equally probable. Hence probability is 0.2.
For second testcase:
(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3,1), (3,2), (3,3) are all possible ways.
Out of these 1 has sum 2. So 1/9 is the answer.
| Report Duplicate | Flag | PURGE
Open Chat in New Window