作者tedmax100 (tedmax)
看板Grad-ProbAsk
標題[理工] [離散]-整數解個數
時間Wed Jan 20 14:12:20 2010
If a fair die is rooled 10times ,
what is the probability that the sum of the rolls is 20?
答案是 [(29,9) - 10(23,9) + 45(17,9) - 120(11,9)] / 6^10
請問一下 我是假設骰的每次 點數加起來 = 20
設 X1+X2+..+ X10 = 20 , 1≦Xi≦6 這樣去算的
那用生成函數 就變 (x+x^2+..+x^6)^10 中x^20的係數
這樣去寫有錯誤嗎? 因為我照這樣寫答案跟講義給的不一樣
另外文章編號18103的計組問題 有沒有神手能幫小弟解答一下
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.206.69
→ doubleday:我算的是 [(19,10)-10(13,4)] / 6^10 01/20 14:38
→ tedmax100:我用重複組合算也是跟你一樣的答案 跟解答給的差真多= = 01/20 14:44
※ 編輯: tedmax100 來自: 122.117.206.69 (01/20 14:49)