Updated final Exam probs 13 thru 18 MATLAB