plot 4

adding code and plot 4