Answer:
Explanation:
On a given day , a particular raccoon will eat the trash from one of three different houses.
Let assume
be a random variable that illustrating the house raccoon will eat on an unknown given nth day.
If he eats from the trash of a particular house, he has a 50% chance to eat from the same house the next day, and a 25% chance each to eat from one of the other two houses.
There are three states given in the above statement.
So, we can have state 1, state 2 and state 3
Assuming that:
state 1 = house 1
state 2 = house 2
state 3 = house 2
If he eats from the trash of a particular house,
For state 1 : he has a 50% chance to eat from the same house the next day
i.e state 1 = 0.50
and a 25% chance each to eat from one of the other two houses.
For state 2 and state 3: = 0.25
i.e state 2 = 0.25
state 3 = 0.25
NOW:
The stochastic matrix for this scenario can be computed as:
0 1 2