An approximation technique for natural convection in a boundary layer