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