The value of x for which the tangents to the curves y=xcosx, y=(sinx)x are parallel to the axis of x are roots of