Find the value of sinθ+cosθ ,when θ=45∘
If sin θ = cos (θ−45o), where θ is acute, find the value of θ.