Show of hands among older engineers: Who else has got "the wheel" for a quick answer to questions like this?
Very Long Answer:
Use the basic form and do trial and error. There is no 'direct solution.'
The only real trick you need to be aware of, when doing this for pipes, is you need to realize that a circular pipe flows at its maximum capacity when it's 93.8% full, in terms of depth of flow. Any deeper, and the extra cross sectional area you get is overcompensated by the extra friction from the pipe wall, and your flow actually goes down a little.
So set yourself up a spreadsheet that determines the cross sectional area and wetted perimeter of a pipe that's flowing at depth = 0.938 * pipe diameter. That takes some trig. Then use Manning's to determine the average velocity given a roughness and a slope. Then multiply that velocity times the cross sectional area determined earlier and you have a capacity flow for that pipe at that slope. Then trial and error until you find the pipe size you need. Depending on how you set your spreadsheet up, you might be able to land on your answer by using the "Goalseek" function, under data analysis. If you're sharp, you should also allow yourself to vary the depth of flow to something other than 93.8% full, so you can test other scenarios.
Since you appear to be new to this, keep in mind that pipes in the United States come in sizes that go by 3 inch increments in interior diameter, up to a point, then 6 inch increments. Check a manufacturer's website. If you present a solution that says you need a 22.4 inch diameter pipe, you won't have a pleasant remainder of your workday.
Also, please do be aware that Manning's equation is only for normal flow, which means you take an infinitely long pipe and measure the depth at the midpoint where entrance and exit losses don't impact the depth. In the really real world, entrance and exit losses do have an effect, and the water surface elevation changes throughout the pipe depending on a lot of weird factors.
Hydrology, Drainage Analysis, Flood Studies, and Complex Stormwater Litigation for Atlanta and the South East -