as ziad1985 has mentioned before, this situation can be solved by using the formulas of P.E. (potential energy) and K.E. (kinetic energy)
[tex]
\begin{array}{l}<br />
P.E. = mgh \\ <br />
K.E. = \frac{{mv^2 }}{2} \\ <br />
\end{array}[/tex]
now you need to make these two equations equal to each other, as the kinetic energy of the car at the base of the circular path would be equal to the potential energy at the top (conservation of energy)
[tex]mgh = \frac{{mv^2 }}{2}[/tex]
now by manipulating that equation you can get it ion terms of r (radius of the circle)
assuming h to be the diameter of the circle (2r)
[tex]
\begin{array}{l}<br />
mgh = \frac{{mv^2 }}{2} \\ <br />
2mgh = mv^2 \\ <br />
m\left( {2gh} \right) = mv^2 \\ <br />
2gh = v^2 \\ <br />
h = 2r \\ <br />
2g\left( {2r} \right) = v^2 \\ <br />
4gr = v^2 \\ <br />
\frac{{v^2 }}{{4g}} = r \\ <br />
g_{acceleration} = 9.8\,m\,s^{ - 2} \\ <br />
\frac{{4^2 }}{{4\left( {9.8} \right)}} = 0.4081 \\ <br />
\end{array}[/tex]
so the maximum radius of the circle is 0.4081 meters, any larger the energies would not be equal and the car will leave the track