// Numbas version: finer_feedback_settings {"name": "Trigonometry", "extensions": [], "custom_part_types": [], "resources": [["question-resources/triangle_6nKlln9.png", "/srv/numbas/media/question-resources/triangle_6nKlln9.png"], ["question-resources/triangle_2.png", "/srv/numbas/media/question-resources/triangle_2.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "x", "fa", "fh"], "name": "Trigonometry", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
Each angle on a triangle is connected to two sides and is facing another.
\nThe longest side of the triangle is always the hypotenuse.
\nThe other side that makes the angle is called the adjacent.
\nThe final side not connected in any way to the angle is called the opposite.
\nFor example, using the image below, you can see which side is denoted by each term from the highlighted angle's perspective.
\n\n\n\n\nOne of the ways you can approach this style of question is by using SOHCAHTOA.
\nThis can be written more visually as
\nIt represents each trigonometric function and what they are equivalent to.
\nWritten out in full, we would have:
\nSIN: opposite / hypotenuse
\nCOS: adjacent / hypotenuse
\nTAN: opposite / adjacent
\n\n\n\n\nFor example, $\\sin$ is represented by the first S.
\nIf we were given an angle, say of $30^\\circ$,
\n$\\sin(30^\\circ)=\\frac{\\text{opposite}}{\\text{hypotenuse}}$
\nEvaluating $\\sin(30^\\circ)=\\frac{1}{2}$, we now know that $\\frac{\\text{opposite}}{\\text{hypotenuse}}=\\frac{1}{2}$
\nIf we were given one of these sides, we would then be able to work out the other one by multiplying accordingly.
\n\n\n\nSimilarly if we were given two sides, and told to work out a specific angle, we could.
\nReferring to the image above, suppose we want to find the highlighted angle and we are given that the hypotenuse is equal to $5$ units, and the adjacent is $4$ units.
\nWe would determine from SOHCAHTOA that we need to use cos since we have the values for A and H.
\nSo, $\\cos(x)=\\frac{4}{5}$
\nHence, $x=\\cos^{-1}(\\frac{4}{5})=36.87^\\circ$
", "rulesets": {}, "parts": [{"prompt": "$a=\\var{a[0]}$
\n$x=\\var{x[0]}^\\circ$
\n$c=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{a[0]}cos({x[0]}pi/180)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "{a[0]}cos({x[0]}pi/180)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$b=\\var{a[1]}$
\n$y=\\var{x[1]}^\\circ$
\n$c=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{a[1]}tan({x[1]}pi/180)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "{a[1]}tan({x[1]}pi/180)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$a=\\var{a[2]}$
\n$y=\\var{x[2]}^\\circ$
\n$c=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{a[2]}sin({x[2]}pi/180)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "{a[2]}sin({x[2]}pi/180)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$b=\\var{a[3]}$
\n$x=\\var{x[3]}^\\circ$
\n$a=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{a[3]}/sin({x[3]}pi/180)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "{a[3]}/sin({x[3]}pi/180)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$b=\\var{a[4]}$
\n$x=\\var{x[4]}^\\circ$
\n$c=$ [[0]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{a[4]}/tan({x[4]}pi/180)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "{a[4]}/tan({x[4]}pi/180)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}, {"prompt": "$a=\\var{fh}$
\n$c=\\var{fa}$
\n$x=$ [[0]]$^\\circ$
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "arccos({fa}/{fh})*(180/pi)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": "50", "scripts": {}, "marks": 1, "minValue": "arccos({fa}/{fh})*(180/pi)", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Using the triangle pictured below (not to scale), find the specified side lengths using trigonometry and the given values.
\n\nGive your answer to two decimal places.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "repeat(random(3..10),7)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "x": {"definition": "shuffle([25,30,40,50,60,70])", "templateType": "anything", "group": "Ungrouped variables", "name": "x", "description": ""}, "fh": {"definition": "random(6..10)", "templateType": "anything", "group": "Ungrouped variables", "name": "fh", "description": ""}, "fa": {"definition": "random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "fa", "description": ""}}, "metadata": {"notes": "", "description": "Finding lengths of sides of triangles
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}]}], "contributors": [{"name": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}