A particle is projected vertically upwards with a velocity of v0 in a constant gravitational field. The medium offers a resistive force proportional to the square of the instantaneous velocity of the particle. If vt is the terminal velocity, find the velocity of the particle when it returns to the point from which it was projected.