Examples of applications of cotangent function in real-life problems such as engineering, physics, and astronomy.