(2cos平方θ/2-sinθ-1))/根号2sin(θ+π/4)=(cosθ-sinθ)/芦岁睁根号2sin(θ+π/4)=根号2cos(θ+π/雀亩4)/根号2sin(θ+π/4)=1/tan(θ+π/4)=(1-tanθ)/(tanθ+1),因为tanθ=-根陪岁号2/2代入得原式=3+2√2