Answer:
![P= \left[\begin{array}{ccc}0.5&0.25&0.25\\0.25&0.5&0.25\\0.25&0.25&0.5\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/uct176cnl01tht1pp9iq50z1fsxxqxht44.png)
Explanation:
let a, b and c be the type of foods used in trail.
Example matrix combination for (1,1) is (a,a) is 0.5. Another Example for (1,2) is (a,b) is 0.25.
The diagonals are (a,a), (b,b) and (c,c) which means same food in two trails and its probability is 0.5. the rest would be 0.25
Therefore, stochastic matrix would have 3 by 3 matrix such as (a,a), (a,b) .... (c,c)
![\left[\begin{array}{ccc}0.5&0.25&0.25\\0.25&0.5&0.25\\0.25&0.25&0.5\end{array}\right] \\](https://img.qammunity.org/2020/formulas/mathematics/college/8vypoa9fqis294xikkntt4tiw0w4slpvif.png)