derivate (1-cos x)/(sin x + cos x