This function should go through the points $(-1,\pi), (0, \frac\pi2), (1,0)$. It is quite easy to see why. It is also just $\tan$ scaled and translated, so the general shape is the same.
$$f(x)=(\tan(1)-\tan(x))\frac{\pi}{2\tan(1)}$$
This function should go through the points $(-1,\pi), (0, \frac\pi2), (1,0)$. It is quite easy to see why. It is also just $\tan$ scaled and translated, so the general shape is the same.
$$f(x)=(\tan(1)-\tan(x))\frac{\pi}{2\tan(1)}$$