The most general value of θ which satisfies both the equations tanθ=−1 and cosθ=1√2 isHere n is any integer.