converted math in sec 10.6