« View all new features in Mathematica 9  previous  |  next 
New in Mathematica 9Markov Chains and Queues

Analyze a Tennis Game 

In[1]:=
Click for copyable input
X
In[2]:=
Click for copyable input
X

In a game of tennis between two players, suppose the probability of the server winning a point is . Visualize the random walk graph for , with 17 states.

Out[2]=

Find the probability of the server's winning the game for .

In[3]:=
Click for copyable input
X
Out[3]=

Find the mean time to absorption, that is, the number of points played.

In[4]:=
Click for copyable input
X
Out[4]=

Find the mean number of states visited.

In[5]:=
Click for copyable input
X
Out[5]=

Find the average number of times the score will be tied at deuce.

In[6]:=
Click for copyable input
X
Out[6]=