摘要
讨论了一类体育彩票的模拟方法,给出了一类体育彩票的计算机模拟生成的纯随机数法和备选数表法,讨论了中奖比对算法,对算法进行了分析,给出了纯随机数法中随机数产生次数和比较次数期望值的计算公式、彩票各个奖项中奖概率的理论计算公式及其证明,模拟实验结果表明了模拟算法的有效性和高效性。
Computer simulation methods for sports lottery are discussed. Pure-Random method and Pare-number- list Method for creating lottery are put forward. Method for lottery comparison and its analysis are brought forward. The formula for the expected values of creating-random times and comparison times in Pure-Random method is given and the proof of the result is also presented. The formula for probability of all kinds of prize and its reasoning are brought forward. Computer simulation has been done and it shows the validity.
出处
《北京联合大学学报》
CAS
2012年第2期21-25,共5页
Journal of Beijing Union University
关键词
算法
算法分析
计算机模拟
彩票
概率
Algorithm
Algorithm analysis
Computer simulation
Lottery
Probability