Generate a random speed.