subject
Engineering, 13.09.2019 00:30 21marmong

The birthday paradox says that the probability that two people in a room will have the same birthday is more than half as long as the number of people in the room (n), is more than 23. this property is not really a paradox, but many people find it surprising. design a c++ program that can test this paradox by a series of experiments on randomly generated birthdays, which testthisparadox forn=5,10,15,. youshould run at least 10 experiments for each value of n and it should output, for each n, the number of experiments for that n, such that two people in that test have the same birthday.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
question
Engineering, 04.07.2019 18:10
The higher the astm grain-size number, the coarser the grain is. a)-true b)-false
Answers: 3
question
Engineering, 04.07.2019 18:10
The filament of an incandescent lamp has a temperature of 2000k. calculate the fraction of radiation emitted in the visible light band if the filament is approximated as blackbody
Answers: 2
You know the right answer?
The birthday paradox says that the probability that two people in a room will have the same birthday...
Questions
question
Mathematics, 01.12.2020 08:30
question
History, 01.12.2020 08:30
question
Mathematics, 01.12.2020 08:30
question
Mathematics, 01.12.2020 08:30
question
Mathematics, 01.12.2020 08:30
question
Mathematics, 01.12.2020 08:30
Questions on the website: 13722361