Text this: Application of dynamic programming to a discrete stochastic control problem /