Both $\displaystyle \cos(\theta)$ and $\displaystyle \sec(\theta)$ are continuous functions on an open interval containing $\displaystyle 0$; $\displaystyle \sin(u)$ is continuous over all real numbers; and $\displaystyle 5\sec(0) \neq 0$, you simply plug in zero. That is the only step.