\(sin\left(\frac{5\pi}{2}-a\right)+cos\left(13\pi+a\right)-3sin\left(a-5\pi\right)\)
\(=sin\left(2\pi+\frac{\pi}{2}-a\right)+cos\left(12\pi+\pi+a\right)-3sin\left(a+\pi-6\pi\right)\)
\(=sin\left(\frac{\pi}{2}-a\right)+cos\left(\pi+a\right)-3sin\left(a+\pi\right)\)
\(=cosa-cosa-3sina=-3sina\)