Fixed a buggy problem, and fixed typos in solutions

Changes for Rogawski problems:
 8.3.13 was often ill posed;
 8.3.31 had a possible TeX error in its solution;
 8.1.40 had missing factors of pi in parts of the solution