2/(2-cosy)=2*(2-cosy)^(-1)
所以导数=2*[(-1)*(2-cosy)^(-1-1)*(2-cosy)']
=-2*(2-cosy)^(-2)*(siny*y')
=-2siny*y'/(2-cosy)^2