Another method will be using gravitational potential and centripetal force.
We know that at the top of the loop, mv^2/r = mg, solving for v gives you v=sqrt(rg)
We also know that the speed at that point of the ramp will be KE=U, 1/2mv^2final = mg change in h since Initial V =0 , solving for v...