# implementation

def sin_recursive(x, eps=1e-16):
    """Calculate sin(x) to precision eps.

    Arguments
    ---------
    x : float
        argument of sin(x)
    eps : float, optional
        desired precision

    Returns
    -------
    func_value, N

    where func_value = sin(x) and N is the number
    of terms included in the approximation.
    """
    # ....
    # add your code here
    return sumN, n-1
