Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

用MATLAB打两条式子就出来了

Posted by Cpp at 2008-08-31 23:51:55 on Problem 3682
In Reply To:大牛们都怎么做的啊?提示一下吧~~~迭代算出概率过了但是好慢啊 Posted by:liulibo133 at 2008-08-31 17:16:08
symsum(n*sym('(n-1)!/(n-k)!/(k-1)!')*p^k*(1-p)^(n-k),n, k,inf)
symsum(n*n*sym('(n-1)!/(n-k)!/(k-1)!')*p^k*(1-p)^(n-k),n, k,inf)

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator