The velocity distribution function for a polymer chain