use this
v^2=V (initial)^2 + 2a(distance)