文件名称:BirthdayProblem
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 87kb
- 下载次数:
- 0次
- 提 供 者:
- D*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
生日問題(Birthday problem). 一個房間中要有多少人, 才會使其中至少有兩人生日(月日)相同的機率大於0.5? 此程式包含算數實驗值和亂數模擬值-birthday problem, in a set of n randomly chosen people, some pair of them will have the same birthday. By the pigeonhole principle, the probability reaches 100 when the number of people reaches 366. However, 99 probability is reached with just 57 people, and 50 probability with 23 people.
This java program simulates birthday problem.
This java program simulates birthday problem.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BirthdayProblem\BirthdayTest.class
...............\BirthdayTest.java
...............\執行畫面.JPG
BirthdayProblem
...............\BirthdayTest.java
...............\執行畫面.JPG
BirthdayProblem