We present the basis of stochastic and dynamic programming and ends with example comparing both approaches and limits. slides