depends on the accuracy required for your answer. first approximation: the kinetic energy (velocity) at the bottom equals the loss of potential energy from top to bottom. that neglects friction losses. Try googling 'bernoulli equation' and 'moody friction' for more details.