https://en.wikipedia.org/wiki/Effective_potential
In this wiki link, They write
$$ E = \frac{1}{2} mv^2 + \frac{1}{2} mr^2 \omega^2 - \frac{GMm}{r}$$
Then they sub
$$ L= mr\omega$$
Which turns the energy expression into,
$$ E = \frac{1}{2} mv^2 + \frac{L^2}{2mr^2} - \frac{GMm}{r}$$
Now, at the end wiki writes that this turns a two variable problem into a single variable one but how?
We still have velocity and radius as varying parameters..