Analysis beyond the Thomas-Fermi approximation of the density profiles of a miscible two-component Bose-Einstein condensate