# Valley and Mountain

Calculus Level 3

On the Cartesian plane, what is the distance between the global maximum and global minimum of the following function?

$f(x) = \tan \left ( \dfrac{\pi x}{x^2+4} \right )$

×