If ∣∣cos θ+{sin θ+√sin2 θ+sin2 α}∣∣≤k, then the value of k is
If θ is an acute angle and sin θ = cos θ , find the value of 2tan2θ+sin2θ−1