Q3.png and plot3.R