I tried with states (temp, hour), state 1 S1 is (- 3,0) S2 (- 3,1) etc, that would do, the problem its that the matrix is 314x314, the idea is to obtain the steady state that gives the prob of each temp x hour in the long term, i ll try to program it in visual basic.