The value of tangent is correct, but secant is not. You may have thought that secant was the reciprocal of sine, but it is the reciprocal of cosine.