Suppose that you are in a spatially flat universe containing a single component with a unique equation-of-state parameter w. What are the current proper distance dP(t0), the luminosity distance dL, and the angular-diameter distance dA as a function of z and w? At what redshift will dA have a maximum value? What will this maximum value be, in units of the Hubble distance?