answer for Project 1

The code scripts for plot1-plot4 are added.
The corresponding figures are in directory, figure.