Consider the given equation,
sinθ−cosθ=0
sinθ=cosθ
sinθcosθ=1
tanθ=1
tanθ=tanπ4
θ=π4
Hence, this is the answer. .