import math


def eq_to_cart(ra, dec):
    """Find the cartesian co-ordinates on the unit sphere given the eq. co-ords.

        ra, dec should be in degrees.
    """
    return (math.cos(math.radians(dec)) * math.cos(math.radians(ra)),  # Cartesian x
            math.cos(math.radians(dec)) * math.sin(math.radians(ra)),  # Cartesian y
            math.sin(math.radians(dec)))