should'nt i use the equation mgh+half mv^2before=mgh+half mv^2aftr?

if you are trying to balance potential and kinetic energy, yes.