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