作者electrify (小狼狗)
看板Grad-ProbAsk
标题Re: [理工] [机率]-请问一题
时间Fri Aug 7 10:52:20 2009
※ 引述《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