// Numbas version: finer_feedback_settings {"name": "Exact values for sin, cos, tan (-6pi to 6pi, radians) ", "extensions": ["geogebra"], "custom_part_types": [], "resources": [["question-resources/unit_circle_working_radians_aoovkzo.svg", "unit_circle_working_radians_aoovkzo.svg"], ["question-resources/exact_values_radians.svg", "exact_values_radians_cNZPFMK.svg"], ["question-resources/ASTCwhite.png", "ASTCwhite_z5FOOwn.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Exact values for sin, cos, tan (-6pi to 6pi, radians) ", "tags": [], "metadata": {"description": "

testing sin, cos, tan of angles that are negative or greater than 2pi radians that result in nice exact values. 

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Often we prefer to work with exact values rather than approximations from a calculator. In this question we require you input your answer without decimals and without entering the words sin, cos or tan. For example, to input the exact value of $\\sin\\left(\\frac{\\pi}{3}\\right)$, which is $\\dfrac{\\sqrt{3}}{2}$, you would input sqrt(3)/2

", "advice": "

Recall the unit circle definitions:

\n\n

In particular, the angle of $\\displaystyle\\var[fractionnumbers]{omega_pi}\\pi$ is a complete revolution ($2\\pi$) and then an additional $\\displaystyle\\var{thetadisplay}$ anticlockwiseis two complete revolutions ($2\\times 2\\pi=4\\pi$) and then an additional $\\displaystyle\\var{thetadisplay}$ anticlockwiseis $\\displaystyle\\var[fractionnumbers]{abs(omega_pi)}\\pi$ clockwise is a complete revolution ($2\\pi$) clockwise and then an additional $\\displaystyle\\var[fractionnumbers]{abs(omega_pi+2)}\\pi$ clockwise is two complete revolutions ($2\\times 2\\pi=4\\pi$) clockwise and then an additional $\\displaystyle\\var[fractionnumbers]{abs(omega_pi+4)}\\pi$ clockwiseis three complete revolutions ($3\\times 2\\pi$) clockwise which puts the point {textquadrant}. 

\n

Therefore, for trigonometry, working with $\\displaystyle\\var[fractionnumbers]{omega_pi}\\pi$ would be the same as working with $\\displaystyle\\var{thetadisplay}$.

\n

{diagram}

\n

Since this point falls on an axis and the point is on the unit circle, it is clear that its coordinates are $(\\var{cos({thetarad})}, \\var{sin({thetarad})})$. From these, we can conclude that 

\n

$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=\\var{sin({thetarad})}$,

\n

$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=\\var{cos({thetarad})}$, and

\n

$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=\\dfrac{\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)}{\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)}=\\dfrac{\\var{sin({thetarad})}}{\\var{cos({thetarad})}}\\var{if(theta=90 or theta=270, \" which is undefined\",\" = \" + precround(tan(theta*pi/180),0))}.$

\n
\n

The triangle {textquadrant} has the same side lengths as the related triangle in the first quadrant (they are congruent). Therefore, we can recall or use right-angled triangle trigonometry to determine the lengths of the triangle in the first quadrant and then change the signs as needed. Recall: 

\n

By drawing the following triangles, we can determine the exact values of $\\sin$, $\\cos$ and $\\tan$ for the angles $\\dfrac{\\pi}{6}$, $\\dfrac{\\pi}{4}$ and $\\dfrac{\\pi}{3}$.

\n

\n

Alternatively, one can memorise the following table: 

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\dfrac{\\pi}{6}$$\\dfrac{\\pi}{4}$$\\dfrac{\\pi}{3}$
 
$\\sin$$\\dfrac{1}{2}$$\\dfrac{1}{\\sqrt{2}}$$\\dfrac{\\sqrt{3}}{2}$
 
$\\cos$$\\dfrac{\\sqrt{3}}{2}$$\\dfrac{1}{\\sqrt{2}}$$\\dfrac{1}{2}$
 
$\\tan$$\\dfrac{1}{\\sqrt{3}}$$1$$\\sqrt{3}$
\n

\n

From the above, the triangle in the first quadrant tells us that:

\n

$\\sin\\left(\\var{phiraddisplay}\\right)=\\;\\;\\dfrac{1}{2}$$\\sin\\left(\\var{phiraddisplay}\\right)=\\dfrac{1}{\\sqrt{2}}$$\\sin\\left(\\var{phiraddisplay}\\right)=\\dfrac{\\sqrt{3}}{2}$

\n

$\\cos\\left(\\var{phiraddisplay}\\right)=\\dfrac{\\sqrt{3}}{2}$$\\cos\\left(\\var{phiraddisplay}\\right)=\\dfrac{1}{\\sqrt{2}}$$\\cos\\left(\\var{phiraddisplay}\\right)=\\;\\;\\dfrac{1}{2}$

\n

$\\tan\\left(\\var{phiraddisplay}\\right)=\\dfrac{1}{\\sqrt{3}}$$\\tan\\left(\\var{phiraddisplay}\\right)=\\;\\;1$$\\tan\\left(\\var{phiraddisplay}\\right)=\\sqrt{3}$

\n

Since $\\theta=\\displaystyle\\var{thetadisplay}$ puts us {textquadrant}, the $x$-coordinate (the cosine value) is positive,negative, and the $y$-coordinate (the sine value) is positivenegative. That is:

\n

$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\sin\\left(\\var{phiraddisplay}\\right)=\\;\\;\\phantom{-}\\dfrac{1}{2}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\sin\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\sin\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\dfrac{\\sqrt{3}}{2}$

\n

$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=-\\dfrac{\\sqrt{3}}{2}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=\\;\\;-\\dfrac{1}{2}$

\n

$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{3}}$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=\\;\\;-1$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=-\\sqrt{3}$

\n

$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=\\;\\;-\\dfrac{1}{2}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=-\\dfrac{\\sqrt{3}}{2}$

\n

$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=-\\dfrac{\\sqrt{3}}{2}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=-\\cos\\left(\\var{phiraddisplay}\\right)=\\;\\;-\\dfrac{1}{2}$

\n

$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\tan\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\dfrac{1}{\\sqrt{3}}$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\tan\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\;\\;1$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\tan\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\sqrt{3}$

\n

$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=\\;\\;-\\dfrac{1}{2}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\sin\\left(\\var{thetadisplay}\\right)=-\\sin\\left(\\var{phiraddisplay}\\right)=-\\dfrac{\\sqrt{3}}{2}$

\n

$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\cos\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\dfrac{\\sqrt{3}}{2}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\cos\\left(\\var{phiraddisplay}\\right)=\\phantom{-}\\dfrac{1}{\\sqrt{2}}$$\\displaystyle\\cos\\left(\\var{thetadisplay}\\right)=\\phantom{-}\\cos\\left(\\var{phiraddisplay}\\right)=\\;\\;\\phantom{-}\\dfrac{1}{2}$

\n

$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=-\\dfrac{1}{\\sqrt{3}}$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=\\;\\;-1$$\\displaystyle\\tan\\left(\\var{thetadisplay}\\right)=-\\tan\\left(\\var{phiraddisplay}\\right)=-\\sqrt{3}$

\n

An alternative approach is to use the mnemonic \"All Stations TCentral\" or \"ASTC\" to recall which trig functions are positive in each quadrant (and hence which are negative):

\n

\n
\n

", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"omega": {"name": "omega", "group": "Ungrouped variables", "definition": "thetarad+rev_pi*pi", "description": "", "templateType": "anything", "can_override": false}, "thetalist": {"name": "thetalist", "group": "Ungrouped variables", "definition": "random([0,0],[pi/2,'\\$\\\\frac{\\\\pi}{2}\\$'],[2pi/3,'\\$\\\\frac{2\\\\pi}{3}\\$'],[3pi/4,'\\$\\\\frac{3\\\\pi}{4}\\$'],[5pi/6,'\\$\\\\frac{5\\\\pi}{6}\\$'],[pi,'\\$\\\\pi\\$'],[7pi/6,'\\$\\\\frac{7\\\\pi}{6}\\$'],[5pi/4,'\\$\\\\frac{5\\\\pi}{4}\\$'],[4pi/3,'\\$\\\\frac{4\\\\pi}{3}\\$'],[3pi/2,'\\$\\\\frac{3\\\\pi}{2}\\$'],[5pi/3,'\\$\\\\frac{5\\\\pi}{3}\\$'],[7pi/4,'\\$\\\\frac{7\\\\pi}{4}\\$'],[11pi/6,'\\$\\\\frac{11\\\\pi}{6}\\$'])", "description": "", "templateType": "anything", "can_override": false}, "rev_pi": {"name": "rev_pi", "group": "Ungrouped variables", "definition": "random(2,4,-2,-4,-6)", "description": "", "templateType": "anything", "can_override": false}, "rev": {"name": "rev", "group": "Ungrouped variables", "definition": "rev_pi*180", "description": "", "templateType": "anything", "can_override": false}, "quadrant": {"name": "quadrant", "group": "Ungrouped variables", "definition": "switch(0The exact value of $\\sin\\left(\\var[fractionnumbers]{omega_pi}\\pi\\right)$ is [[0]].

\n

The exact value of $\\cos\\left(\\var[fractionnumbers]{omega_pi}\\pi\\right)$ is [[1]].

\n

If $\\tan\\left(\\var[fractionnumbers]{omega_pi}\\pi\\right)$ is defined, what is its exact value? Otherwise, enter undefined  [[2]].

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "sin({thetarad})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": [".", "sin", "cos", "tan", "cosec", "sec", "cot"], "showStrings": true, "partialCredit": 0, "message": ""}, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "cos({thetarad})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": [".", "sin", "cos", "tan", "cosec", "sec", "cot"], "showStrings": true, "partialCredit": 0, "message": ""}, "valuegenerators": []}, {"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{if(theta=90 or theta=270,expression('undefined'),tan({thetarad}))}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "notallowed": {"strings": ["sin", "cos", "tan", "cosec", "csc", "cot", "sec"], "showStrings": false, "partialCredit": 0, "message": ""}, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}], "resources": ["question-resources/unit_circle_working_radians_aoovkzo.svg", "question-resources/exact_values_radians.svg", "question-resources/ASTCwhite.png"]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}