what is tan-1 (infinity)
The limit will be pi/2
see the graph
https://www.desmos.com/calculator/q08obofneo