converted math in sec 4.5
converted math in section 4.6