This document provides a solution to calculating cotangent (ctg) x when x is between 0 and pi/2 and sine x equals 1/sqrt(7). It notes that since x is in the first quadrant, cotangent x must be positive. It then uses the fundamental trigonometry formula that the square of sine x plus the square of cosine x equals 1 to find that cosine x equals the square root of 1 - (1/sqrt(7))^2.