I know the formula:
$\arctan(x) = \frac{\pi}{2} - \arctan\left(\frac{1}{x}\right)$
and it's easy to find the appropriate Taylor expansion of $\arctan\left(\frac{1}{x}\right)$, but my problem is in finding upper bound (and such number $n$) of Lagrange Remainder, and proving that this remainder is less than $0.001$