The Schwarzian derivative and associated second -order ordinary differential equation can be used to determine the Riemann mapping between the upper half-plane or unit circle and any bounded polygon in the complex plane, the edges of which are circular arcs or straight lines.