∫1/(sinx+cosx)dx
=(√2/2)∫1/[(√2/2)sinx+(√2/2)cosx] dx
=(√2/2)∫1/sin(x+π/4) dx
=(√2/2)∫csc(x+π/4) dx
=(√2/2)ln|csc(x+π/4)-cot(x+π/4)|+C
∫1/(sinx+cosx)dx
=(√2/2)∫1/[(√2/2)sinx+(√2/2)cosx] dx
=(√2/2)∫1/sin(x+π/4) dx
=(√2/2)∫csc(x+π/4) dx
=(√2/2)ln|csc(x+π/4)-cot(x+π/4)|+C