You should know that for a function $\displaystyle f(x)$ continuous at $\displaystyle x_0$ the limit as $\displaystyle x$ approaches $\displaystyle x_0$ is $\displaystyle f(x_0)$.
This is applicable to this problem with $\displaystyle f(x)=\cos(x)+\tan(x)$