This appendix contains a short introduction to numerical methods and describes how to solve finite horizon dynamic programming in C++.