Vertical velocity of acoustic wave determined from altitudes of TEC disturbances after a foreshock