The Gateway to Computer Science Excellence
0 votes
17 views
You and your opponent both roll a fair die. If you both roll the same number, the game is repeated, otherwise whoever rolls the larger number wins. Let $N$ be the number of times the two dice have to be rolled before the game is decided.

(b) Compute Probability you win
in Probability by Boss (10.9k points) | 17 views

1 Answer

0 votes
P(A wins)=$\frac{5}{12}+\frac{1}{6}*\frac{5}{12}+\frac{1}{6^{2}}*\frac{5}{12}.... N terms $

$\rightarrow \frac{5}{12} (1+\frac{1}{6}+\frac{1}{6^{2}}...)$

$\rightarrow \frac{5}{12} (\frac{1- (\frac{1}{6})^{n} }{1 - \frac{1}{6}})$

$\rightarrow \frac{1}{2} (1-(\frac{1}{6})^{n})$ is probability that A wins or player 1 wins
by Boss (18.5k points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,834 questions
57,828 answers
199,497 comments
108,308 users