找回密码
 立即注册
搜索
总共850条微博

动态微博

查看: 1249|回复: 1
打印 上一主题 下一主题
收起左侧

Another prob question

[复制链接]

128

主题

550

帖子

8036

积分

跳转到指定楼层
楼主
发表于 2008-7-19 00:47:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

Toss a coin until the nth Head turns up. Let Y=number of required tosses
, calculate Prob(Y is even).  Assume the probability of head of each toss is p.
www.ddhw.com

 
回复

使用道具 举报

0

主题

1

帖子

6

积分

沙发
发表于 2008-7-24 18:52:54 | 只看该作者

回复:Another prob question


let
O (n) be the total probability of nth head shows up at the odd number of tosswww.ddhw.com
E (n) for even number of toss  
we have
E (n) = (1-p) * O (n) + p * O (n-1)
E (n) + O (n) = 1
 thus we get a recurrence relation for O (n)
O (n) = -p/(2-p) * O (n-1) + 1/(2-p)
 
Solving it we have
O (n) = (-p/(2-p))^(n-1) * ( O (1) - 1/2) +1/2
with O( 1 ) = 1/(2-p)


 
回复 支持 反对

使用道具 举报

24小时热帖
    一周热门
      原创摄影
        美食美文
          您需要登录后才可以回帖 登录 | 立即注册

          本版积分规则

          Archiver|手机版|珍珠湾ART

          Powered by Discuz! X3 © 2001-2013 All Rights Reserved