※ 引述《msu (do my best)》之銘言:
: Suppose a fair coin is tossed n times.
: Each coin toss costs d dollars and the reward is obtaining X heads is
: 2
: aX +bx Find the expected value of the net reward.
: 請問這題如何解^^
: 感謝~~
: 他答案給
: 1 1 1
: a(---n+---n^2)+b(---n)-nd
: 4 4 2
: 不過我不是很懂他怎如何求的...
P(H) = 1/2
r.v.X ~B(n,p)
n
f(x) = C (1/2)^x * (1/2)^(n-x)
x
E[X] = np = (1/2)*n
Var[X] = np(1-p) =(1/4)*n
E[X^2] = Var[X]+E[X]^2 = (1/4)*n + (1/4)*n^2
y = 贏來的錢 = ax^2+bx-dn
= a[(1/4)*n + (1/4)*n^2] + b[(1/2)*n] - dn
這題我上星期剛做 ( ̄‥a ̄)
有錯請指教 <(_ _)>
--
很想讓妳走進我的心房,因為妳會發現充滿對妳的思念.
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.173.166.84