Solution of the Euler equations for airfoils using asymptotic methods