Series of MATLAB programming challenges, as an assignment for Computational Mathematics 2