Consider a Markov chain having state space $S = \{1,2,3,4\}$ with transition probability matrix $P = (p_{i,j})$ given by
$$\begin{matrix} & \begin{matrix} 1 & \quad 2 & \quad 3 & \quad 4 \end{matrix} \\ \begin{matrix} 1 \\ 2 \\ 3 \\ 4 \end{matrix} & \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} \end{matrix}$$
Then
We need to analyze the behavior of the Markov chain described by the transition probability matrix $P$ for state 2.
The state space is $S = \{1, 2, 3, 4\}$ and the transition matrix is:
$ P = \begin{bmatrix} 1/2 & 0 & 1/2 & 0 \\ 1/4 & 1/4 & 1/4 & 1/4 \\ 1/3 & 0 & 1/3 & 1/3 \\ 1/2 & 0 & 1/2 & 0 \end{bmatrix} $
We are interested in the properties of state 2, specifically $\lim_{n \to \infty} p_{2,2}^{(n)}$ and $\sum_{n=0}^\infty p_{2,2}^{(n)}$.
Combining the findings:
This corresponds to the properties of a transient state in a Markov chain.
A canal system is shown in the figure.

Water flows from A to B through two channels. Gates $G_1$ and $G_2$ are operated independently to regulate the flow. Probability of $G_1$ to be open is 10% while that of $G_2$ is 20%. The probability that water will flow from A to B is