Plot for homework 5