subject

4. sharedbirthdays: the birthday problem is a question where most people's intuition is proved incorrect by mathematics. the problem is: given a group of n people, how large must n be so that there is a 50% chance that at least 2 of the n people have the same birthday? write a method with two parameters, the number of people in a group and the number of days in the year. the method will generate random birthdays for the number of people and then determine how many pairs of people have the same birthday. you don't have to generate actual days of the year for the birthdays. you can simply use ints. here are two ways to generate random ints in java. one uses an object of type random and the other uses the random method from the math class.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 01:00
Mastercard managers are motivated to increase (1) the number of individuals who have and use a mastercard credit card, (2) the number of banks and other clents who issue mastercards to customers and/or employees, and (3) the number of locations that accept mastercard payments. discuss how mastercard could use its data warehouse to it expand each of these customer bases.
Answers: 3
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
question
Computers and Technology, 24.06.2019 18:00
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best-suited for this?
Answers: 1
question
Computers and Technology, 25.06.2019 00:00
To remove text from a specific location and keep it to use again, you should select
Answers: 1
You know the right answer?
4. sharedbirthdays: the birthday problem is a question where most people's intuition is proved inco...
Questions
question
Mathematics, 27.10.2020 20:30
question
Chemistry, 27.10.2020 20:30
question
History, 27.10.2020 20:30
question
Mathematics, 27.10.2020 20:30
question
Mathematics, 27.10.2020 20:30
Questions on the website: 13722363