Find the value of the following:


(For tan-1(tanx) type of problem we have to always check whether the angle is in the principal range or not. This angle must be in the principal range.)


So here,


Now, can be written as,




where, [since, tan(π+x) = tanx]



Hence,


2