Problem2 plot