prob 2 deriv plots