原书出处
Introduction to Algorithms, Fourth Edition
C 附录C 计数与概率
each with probability p = 1/3 of success. The expectation of the distribution is np = 5.
Linearity of expectation produces the same result with substantially less algebra. Let Xi be the random variable describing the number of successes in the ith trial. Then E[Xi] = p · 1
+ q · 0 = p, and the expected number of successes for n trials is We can use the same app
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Introduction to Algorithms, Fourth Edition/_epub-src/OEBPS/appendix003.xhtml
EPUB SHA-256:ec7ced04bb875b93983816aef7a667855a4b71c5cf53b63406b9439c74e27aea