initial import of ch 2 from ocr
section 2.1
math in section 2.2 converted