1/8 - 1/10 各牌組勝率 by syadoreco - 線上
By Callum
at 2017-01-12T11:10
at 2017-01-12T11:10
Table of Contents
※ 引述《jeffreyshe (jeffrey)》之銘言:
: 如果三成低四成很多的話我也沒辦法了(攤手)
原來30%不能比40%低很多,所以這是中文問題而非數學問題呀
那因為你的算式……算式?實在太那個所以我就把R code貼上來當個紀念好了
以後有人要算類似的東西可以沿用
※choose(m,n)是C(m,n)的意思
二連審判
a=12 # 抽牌量
choose(37,a-2)*choose(3,2)/choose(40,a)+ # 二張
choose(37,a-3)*choose(3,3)/choose(40,a) # 三張
> 0.2093117
二連桃樂絲
b=11 # 抽牌量
(choose(37,b-1)*choose(3,1)/choose(40,b))* # 一張
(1-choose(38-b,5)/choose(40-b,5))+
(choose(37,b-2)*choose(3,2)/choose(40,b))* # 二張
(1-choose(39-b,5)/choose(40-b,5))
> 0.1725709
--
會寫leetcode不會算高中機率,點解?
: 如果三成低四成很多的話我也沒辦法了(攤手)
原來30%不能比40%低很多,所以這是中文問題而非數學問題呀
那因為你的算式……算式?實在太那個所以我就把R code貼上來當個紀念好了
以後有人要算類似的東西可以沿用
※choose(m,n)是C(m,n)的意思
二連審判
a=12 # 抽牌量
choose(37,a-2)*choose(3,2)/choose(40,a)+ # 二張
choose(37,a-3)*choose(3,3)/choose(40,a) # 三張
> 0.2093117
二連桃樂絲
b=11 # 抽牌量
(choose(37,b-1)*choose(3,1)/choose(40,b))* # 一張
(1-choose(38-b,5)/choose(40-b,5))+
(choose(37,b-2)*choose(3,2)/choose(40,b))* # 二張
(1-choose(39-b,5)/choose(40-b,5))
> 0.1725709
--
會寫leetcode不會算高中機率,點解?
Tags:
線上
All Comments
By Lauren
at 2017-01-12T12:46
at 2017-01-12T12:46
By Gary
at 2017-01-17T07:44
at 2017-01-17T07:44
By Zora
at 2017-01-20T07:55
at 2017-01-20T07:55
By Lily
at 2017-01-22T18:57
at 2017-01-22T18:57
By Kama
at 2017-01-24T21:24
at 2017-01-24T21:24
By Hamiltion
at 2017-01-27T12:01
at 2017-01-27T12:01
By Jake
at 2017-01-30T06:34
at 2017-01-30T06:34
By Tristan Cohan
at 2017-02-02T20:00
at 2017-02-02T20:00
By Audriana
at 2017-02-04T13:04
at 2017-02-04T13:04
By Ina
at 2017-02-05T18:17
at 2017-02-05T18:17
By Carolina Franco
at 2017-02-06T07:48
at 2017-02-06T07:48
By Erin
at 2017-02-08T01:09
at 2017-02-08T01:09
By Olivia
at 2017-02-09T06:35
at 2017-02-09T06:35
By Olga
at 2017-02-10T15:46
at 2017-02-10T15:46
By James
at 2017-02-11T19:06
at 2017-02-11T19:06
By Lucy
at 2017-02-16T01:23
at 2017-02-16T01:23
By Callum
at 2017-02-19T20:43
at 2017-02-19T20:43
By Hedy
at 2017-02-21T11:00
at 2017-02-21T11:00
By Dinah
at 2017-02-26T05:59
at 2017-02-26T05:59
By Margaret
at 2017-02-28T18:54
at 2017-02-28T18:54
By Valerie
at 2017-03-01T15:33
at 2017-03-01T15:33
By Elvira
at 2017-03-06T02:26
at 2017-03-06T02:26
By Skylar Davis
at 2017-03-09T08:49
at 2017-03-09T08:49
By Sierra Rose
at 2017-03-13T10:45
at 2017-03-13T10:45
By Rae
at 2017-03-16T15:38
at 2017-03-16T15:38
By Hedda
at 2017-03-18T12:20
at 2017-03-18T12:20
By Dora
at 2017-03-20T19:28
at 2017-03-20T19:28
By Hazel
at 2017-03-23T17:23
at 2017-03-23T17:23
By Audriana
at 2017-03-25T12:30
at 2017-03-25T12:30
By Faithe
at 2017-03-26T07:08
at 2017-03-26T07:08
By Noah
at 2017-03-27T03:39
at 2017-03-27T03:39
By Rosalind
at 2017-03-31T05:07
at 2017-03-31T05:07
By David
at 2017-03-31T20:29
at 2017-03-31T20:29
By Ina
at 2017-04-05T13:43
at 2017-04-05T13:43
By Olga
at 2017-04-05T23:11
at 2017-04-05T23:11
By Odelette
at 2017-04-06T18:38
at 2017-04-06T18:38
By Liam
at 2017-04-07T05:05
at 2017-04-07T05:05
By Zenobia
at 2017-04-10T04:53
at 2017-04-10T04:53
By Gilbert
at 2017-04-13T00:16
at 2017-04-13T00:16
By Agnes
at 2017-04-14T02:14
at 2017-04-14T02:14
By Tracy
at 2017-04-15T05:16
at 2017-04-15T05:16
By Doris
at 2017-04-15T16:16
at 2017-04-15T16:16
By Jake
at 2017-04-17T02:17
at 2017-04-17T02:17
By Enid
at 2017-04-20T12:15
at 2017-04-20T12:15
By Skylar Davis
at 2017-04-20T22:02
at 2017-04-20T22:02
By Madame
at 2017-04-22T10:00
at 2017-04-22T10:00
By Carol
at 2017-04-24T12:53
at 2017-04-24T12:53
By Carolina Franco
at 2017-04-28T08:06
at 2017-04-28T08:06
By Carolina Franco
at 2017-05-01T01:44
at 2017-05-01T01:44
By John
at 2017-05-04T01:37
at 2017-05-04T01:37
By Poppy
at 2017-05-08T08:19
at 2017-05-08T08:19
By Thomas
at 2017-05-11T09:15
at 2017-05-11T09:15
By Steve
at 2017-05-12T21:52
at 2017-05-12T21:52
By Charlotte
at 2017-05-13T05:54
at 2017-05-13T05:54
By Donna
at 2017-05-15T01:19
at 2017-05-15T01:19
By Todd Johnson
at 2017-05-16T21:09
at 2017-05-16T21:09
By Barb Cronin
at 2017-05-17T06:38
at 2017-05-17T06:38
By Annie
at 2017-05-21T20:07
at 2017-05-21T20:07
By Gary
at 2017-05-23T07:33
at 2017-05-23T07:33
By Robert
at 2017-05-26T20:50
at 2017-05-26T20:50
By Carol
at 2017-05-29T16:22
at 2017-05-29T16:22
By Xanthe
at 2017-05-31T09:50
at 2017-05-31T09:50
By Delia
at 2017-06-03T19:49
at 2017-06-03T19:49
By Doris
at 2017-06-03T22:00
at 2017-06-03T22:00
By Iris
at 2017-06-08T12:58
at 2017-06-08T12:58
By Rosalind
at 2017-06-11T11:43
at 2017-06-11T11:43
By Kristin
at 2017-06-13T07:35
at 2017-06-13T07:35
By Heather
at 2017-06-17T13:52
at 2017-06-17T13:52
By Selena
at 2017-06-18T22:18
at 2017-06-18T22:18
By Bennie
at 2017-06-20T03:53
at 2017-06-20T03:53
By Catherine
at 2017-06-23T19:03
at 2017-06-23T19:03
By Anonymous
at 2017-06-28T18:15
at 2017-06-28T18:15
By Irma
at 2017-06-29T08:34
at 2017-06-29T08:34
By Blanche
at 2017-06-30T16:51
at 2017-06-30T16:51
By Genevieve
at 2017-07-01T02:22
at 2017-07-01T02:22
By Adele
at 2017-07-01T13:25
at 2017-07-01T13:25
By Oscar
at 2017-07-06T05:12
at 2017-07-06T05:12
By Ursula
at 2017-07-09T20:00
at 2017-07-09T20:00
By Dinah
at 2017-07-13T06:14
at 2017-07-13T06:14
By Heather
at 2017-07-18T02:27
at 2017-07-18T02:27
By Hedy
at 2017-07-19T21:01
at 2017-07-19T21:01
By Gary
at 2017-07-20T03:36
at 2017-07-20T03:36
By Heather
at 2017-07-23T16:00
at 2017-07-23T16:00
By Hedy
at 2017-07-24T10:02
at 2017-07-24T10:02
By Puput
at 2017-07-26T06:24
at 2017-07-26T06:24
By Suhail Hany
at 2017-07-29T10:43
at 2017-07-29T10:43
By Daniel
at 2017-07-30T04:24
at 2017-07-30T04:24
By Ida
at 2017-08-01T11:12
at 2017-08-01T11:12
By Sierra Rose
at 2017-08-05T17:32
at 2017-08-05T17:32
By Carolina Franco
at 2017-08-07T10:42
at 2017-08-07T10:42
By Frederic
at 2017-08-10T01:10
at 2017-08-10T01:10
By Bethany
at 2017-08-11T07:34
at 2017-08-11T07:34
By Madame
at 2017-08-15T15:06
at 2017-08-15T15:06
By Isla
at 2017-08-16T20:36
at 2017-08-16T20:36
By Isabella
at 2017-08-19T09:47
at 2017-08-19T09:47
By Valerie
at 2017-08-19T16:48
at 2017-08-19T16:48
By Mason
at 2017-08-23T18:53
at 2017-08-23T18:53
By Yedda
at 2017-08-25T12:15
at 2017-08-25T12:15
By Candice
at 2017-08-27T08:47
at 2017-08-27T08:47
By Barb Cronin
at 2017-08-30T07:14
at 2017-08-30T07:14
By Rae
at 2017-09-01T19:22
at 2017-09-01T19:22
By Dorothy
at 2017-09-06T04:00
at 2017-09-06T04:00
By Suhail Hany
at 2017-09-10T02:15
at 2017-09-10T02:15
Related Posts
1/8 - 1/10 各牌組勝率 by syadoreco
By Daph Bay
at 2017-01-12T10:50
at 2017-01-12T10:50
競技場死靈個人選牌評比 (補上短評)
By Rosalind
at 2017-01-12T08:34
at 2017-01-12T08:34
與伺服器連線逾時
By Adele
at 2017-01-11T22:51
at 2017-01-11T22:51
競技場死靈個人選牌評比 (補上短評)
By Eden
at 2017-01-11T21:52
at 2017-01-11T21:52
1/8 - 1/10 各牌組勝率 by syadoreco
By Ina
at 2017-01-11T21:32
at 2017-01-11T21:32