全文预览

精品文档“三国杀”中的数学问题分析

上传者:非学无以广才 |  格式:doc  |  页数:30 |  大小:0KB

文档介绍
s:0:5);//输出期望值Р close(output);//关闭文本文件РEnd.Р输出结果:Р回合分子/分母=Р1 7/107 = 0.06542Р2 1400/11342 = 0.12344Р3 193200/1190910 = 0.16223Р4 21638400/123854640 = 0.17471Р5 2055648000/12757027920 = 0.16114Р6 167740876800/1301216847840 = 0.12891Р7 11741861376000/131422901631840 = 0.08934Р8 697802047488000/13142290163184000 = 0.05310Р9 34541201350656000/1301086726155216000 = 0.02655Р10 1381648054026240000/127506499163211170000 = 0.01084Р11 42554760064008192000/12368130418831483000000 = 0.00344Р12 928467492305633280000/1187340520207822400000000 = 0.00078Р13 132638213186519040000/1187340520207822400000000 = 0.00011РEX=4.52312Р存活次数n的分布如表2所示。Р表2:存活次数n的分布РnР1Р2Р3Р4Р5Р6Р7Р8РpР0.06542Р0.12344Р0.16223Р0.17471Р0.16114Р0.12891Р0.08934Р0.05310РnР9Р10Р11Р12Р13РpР0.02655Р0.01084Р0.00344Р0.00078Р0.00011Р由此得存活回合数的期望值为:

收藏

分享

举报
下载此文档