You may have confused secant with cotangent. This value is equal to . To calculate secant, use: