五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

[Probability] Hat Problem

2021-09-02 11:17 作者:AoiSTZ23  | 我要投稿

By: Tao Steven Zheng (鄭濤)

【Problem】

Suppose you and five of your friends each brought a hat to a party. The hats are then put into a large box for a random hat draw. What is the probability that nobody selects his or her own hat?

【Solution】

There are six people in total (you + five friends), so the number of possibilities that each person can get their hat is 6!%20%3D%20720%20.


The number of possibilities that nobody selects their own hat is called the derangement problem. For six people, the number of derangements is:


6!%20%5Csum_%7Bk%3D0%7D%5E%7B6%7D%20%5Cfrac%7B%7B%5Cleft(-1%5Cright)%7D%5E%7Bk%7D%7D%7Bk!%7D%20%3D%20265

The probability of each person get their wrong hat is: ?


p%20%3D%20%5Cfrac%7B265%7D%7B720%7D%20


p%20%3D%20%5Cfrac%7B53%7D%7B144%7D%20%5Capprox%200.368056%20


Therefore, the probability that nobody selects his or her own hat is 36.81%.

[Probability] Hat Problem的評論 (共 條)

分享到微博請遵守國家法律
大埔县| 资兴市| 眉山市| 溧水县| 怀化市| 江永县| 都江堰市| 克东县| 临朐县| 如东县| 汉寿县| 丰县| 会宁县| 盈江县| 磐安县| 马公市| 潼南县| 西城区| 怀化市| 乐陵市| 张家界市| 都安| 开鲁县| 嘉荫县| 大荔县| 唐河县| 绥滨县| 当雄县| 大足县| 类乌齐县| 浮梁县| 习水县| 涞水县| 浦东新区| 定南县| 永城市| 吴桥县| 舞钢市| 江城| 颍上县| 资中县|