{"problem":{"name":"151. Triangle Trigonometry","description":{"content":"For this problem, you will be asked to solve specified trigonometry problems. You will be given individual problems that contain sin,cosine,tangent,cosecant,secant, and cotangent. Each test case will ","description_type":"Markdown"},"platform":"Codeforces","limit":{"time_limit":1000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"CF10269151"},"statements":[{"statement_type":"Markdown","content":"For this problem, you will be asked to solve specified trigonometry problems. You will be given individual problems that contain sin,cosine,tangent,cosecant,secant, and cotangent. Each test case will specify which operation should be used, using the following keywords: \"sin,cos,tan,cosec,sec,cotan\". Each test case will also provide the value that should be input into the various trigonometry functions. Your program should output the result of each computation.\n\nThe first line contains a keyword of the format \"sin,cos,tan,cosec,sec,cotan\" that signifies which operation should be computed. The second line contains a floating point value that acts as the input to the trigonometry equation.\n\nA single floating point value that represents the computation of the input with the given trigonometry equation.\n\n## Input\n\nThe first line contains a keyword of the format \"sin,cos,tan,cosec,sec,cotan\" that signifies which operation should be computed. The second line contains a floating point value that acts as the input to the trigonometry equation.\n\n## Output\n\nA single floating point value that represents the computation of the input with the given trigonometry equation.\n\n[samples]","is_translate":false,"language":"English"},{"statement_type":"Markdown","content":"**Definitions**  \nLet $ f \\in \\{\\sin, \\cos, \\tan, \\csc, \\sec, \\cot\\} $ denote the trigonometric function to be evaluated.  \nLet $ x \\in \\mathbb{R} $ denote the input angle (in radians).\n\n**Constraints**  \n- $ f $ is one of: $ \\sin, \\cos, \\tan, \\csc, \\sec, \\cot $.  \n- $ x $ is a floating-point number such that $ f(x) $ is defined (i.e., domain restrictions respected: e.g., $ \\tan(x), \\sec(x) \\neq \\frac{\\pi}{2} + k\\pi $, etc.).\n\n**Objective**  \nCompute and output $ f(x) $.","is_translate":false,"language":"Formal"}],"meta":{"iden":"CF10269151","tags":[],"sample_group":[],"created_at":"2026-03-03 11:00:39"}}