(sin x -cos x+1)/(sin x+cos x-1) = 1/(tan x+sec x)