MathCAD solution to part 2