prob4a plot