converted math in sec 9.7
converted math in sec 9.8
converted math in sec 9.9