def eq(line):
    """
    Turns a line into a nice string representation.
    """
    rho, theta = line
    r = '{:6.2f}'.format(float(rho))
    t = '{:4.4f}'.format(float(theta))
    return r + ' = x * sin(' + t + ') + y * cos(' + t + ')'