已知θ是锐角,tan(θ+派/4)=3+√2,求cosθ的值