mathematica hw