matmech homework