It looks like you confused sine with cosecant and secant with cosine. Remember that sine is opposite over hypotenuse and secant is hypotenuse over adjacent.