// Numbas version: finer_feedback_settings {"name": "5.3 Right-angled triangles", "extensions": [], "custom_part_types": [], "resources": [["question-resources/PictureTriangle_0.png", "PictureTriangle_0.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "5.3 Right-angled triangles", "tags": [], "metadata": {"description": "
Finding the lengths and angles within a right-angled triangle using: pythagoras theorem, SOHCAHTOA and principle of angles adding up to 180 degrees.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Using the right-angled triangle pictured below (not to scale), find the specified side lengths or angles using trigonometric ratios and the given values.
\n
Before starting, check that your calculator is in degrees mode by verifying that $\\cos{60} = \\frac{1}{2}$.
", "advice": "Each angle on a triangle is formed between two sides.
\nThe longest side of a right-angled triangle is called the hypotenuse, and is opposite the right angle.
\nFor each of the angles formed at the hypotenuse, we refer to the other side where the angle is formed as the adjacent side, and the remaining side of the triangle as the opposite.
\nNote that we cannot apply SOHCAHTOA or Pythagoras' Theorem to triangles which are not right-angled.
\n\n
a)
\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
You will need to first use Pythagoras's theorem to evaluate the hypotenuse, which will be
\n\\[ \\sqrt{\\var{b[6]}^2 + \\var{a[6]}^2} = \\sqrt{\\var{b[6]^2 + a[6]^2}}\\]
\nwhich simplifies to $\\var{sqrt(a[6]^2+b[6]^2)}$
\nand now we can write out our ratios for each of sin, cos, and tan - noting that for $x$, the opposite side is $\\var{b[6]}$ and the adjacent side is $\\var{a[6]}$. for $y$, the opposite side is $\\var{a[6]}$ and the adjacent side is $\\var{b[6]}$.
\n\nb)
\nIn this part we can use the fact that the two angles other than the right angle will add together to 90 degrees.
\n\n
c)
\nIn this question we have been given the values of $x$ $y$ and $a$ $b$ as well as $c$, the hypotenuse.
\nHence we can calculate
\n\\[ \\sin(x) = \\frac{b}{c} \\to c \\sin (x) = b \\]
\n\\[ \\sin(y) = \\frac{a}{c} \\to c \\sin (y) = a \\]
\n\\[ \\cos(x) = \\frac{a}{c} \\to c \\cos (x) = a \\]
\n\\[ \\cos(y) = \\frac{b}{c} \\to c \\cos (y) = b \\]
\nd)
\nIn this case we have two sides, but need to work out the angle. We can use the trigonometric ratios and the associated inverse operation.
\nWe've been given $a$ $b$ and $c$ and need to evaluate $x$ $y$. So we can use,
\n\\[ \\sin(x) = \\frac{b}{c} \\to x = \\sin^{-1}\\left( \\frac{b}{c}\\right) \\]
\n\\[ \\sin(y) = \\frac{a}{c} \\to y = \\sin^{-1}\\left( \\frac{a}{c}\\right) \\]
\n\\[ \\cos(x) = \\frac{a}{c} \\to x = \\cos^{-1}\\left( \\frac{a}{c}\\right) \\]
\n\\[ \\cos(y) = \\frac{b}{c} \\to y = \\cos^{-1}\\left( \\frac{b}{c}\\right) \\]
\n", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"fa": {"name": "fa", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "fa_1": {"name": "fa_1", "group": "Ungrouped variables", "definition": "random(1..4)", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "repeat(random(3..10),9)", "description": "", "templateType": "anything", "can_override": false}, "fh": {"name": "fh", "group": "Ungrouped variables", "definition": "random(6..10)", "description": "", "templateType": "anything", "can_override": false}, "x": {"name": "x", "group": "Ungrouped variables", "definition": "shuffle([25,30,40,50,60,70])", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "repeat(random(3..10),9)", "description": "", "templateType": "anything", "can_override": false}, "c_xory": {"name": "c_xory", "group": "Unnamed group", "definition": "random(\"x\",\"y\")", "description": "", "templateType": "anything", "can_override": false}, "c_aorb": {"name": "c_aorb", "group": "Unnamed group", "definition": "random(\"a\",\"b\")", "description": "", "templateType": "anything", "can_override": false}, "c_answer": {"name": "c_answer", "group": "Unnamed group", "definition": "if(c_aorb = \"a\",\n eval(expression(\"{a[0]}*cos({x[0]}*pi/180)\")),\n eval(expression(\"{a[0]}*sin({x[0]}*pi/180)\"))\n )", "description": "", "templateType": "anything", "can_override": false}, "d_xory": {"name": "d_xory", "group": "Unnamed group", "definition": "random(\"x\",\"y\")", "description": "", "templateType": "anything", "can_override": false}, "d_aorb": {"name": "d_aorb", "group": "Unnamed group", "definition": "random(\"a\",\"b\")", "description": "", "templateType": "anything", "can_override": false}, "d_answer": {"name": "d_answer", "group": "Unnamed group", "definition": "if(d_xory = \"x\",\n if(d_aorb = \"a\",\n arccos({fa}/{fh})*(180/pi),\n arcsin({fa}/{fh})*(180/pi)),\n if(d_aorb = \"a\",\n arcsin({fa}/{fh})*(180/pi),\n arccos({fa}/{fh})*(180/pi))\n )\n ", "description": "", "templateType": "anything", "can_override": false}, "a_xory": {"name": "a_xory", "group": "Unnamed group", "definition": "random(\"x\",\"y\")", "description": "", "templateType": "anything", "can_override": false}, "a_sin": {"name": "a_sin", "group": "Unnamed group", "definition": "if(a_xory=\"x\",\n expression(\"{b[6]}/sqrt(({a[6]^2+b[6]^2}))\"),\n expression(\"{a[6]}/sqrt(({a[6]^2+b[6]^2}))\"))", "description": "", "templateType": "anything", "can_override": false}, "a_cos": {"name": "a_cos", "group": "Unnamed group", "definition": "if(a_xory=\"x\",\n expression(\"{a[6]}/sqrt(({a[6]^2+b[6]^2}))\"),\n expression(\"{b[6]}/sqrt(({a[6]^2+b[6]^2}))\"))", "description": "", "templateType": "anything", "can_override": false}, "a_tan": {"name": "a_tan", "group": "Unnamed group", "definition": "if(a_xory=\"x\",\n expression(\"{b[6]/a[6]}\"),\n expression(\"{a[6]/b[6]}\"))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "x", "fa", "fh", "fa_1", "b"], "variable_groups": [{"name": "Unnamed group", "variables": ["c_xory", "c_aorb", "c_answer"]}, {"name": "Unnamed group", "variables": ["d_xory", "d_aorb", "d_answer"]}, {"name": "Unnamed group", "variables": ["a_xory", "a_sin", "a_cos", "a_tan"]}], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Find sin/cos/tan of angle x y in the triangle given the following values of $a$ and $b$.
\n$a=\\var{a[6]}$
\n$b=\\var{b[6]}$
\nNote: write your ratios exactly, using fractions and \"sqrt(..)\" for square roots if required.
\n$\\sin(y) = $ $\\sin(x) = $ [[0]], $\\cos(y) = $ $\\cos(x) = $ [[1]], $\\tan(y) = $ $\\tan(x) = $ [[2]]
\n", "gaps": [{"type": "jme", "useCustomName": true, "customName": "sin", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a_sin}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "cos", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a_cos}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}, {"type": "jme", "useCustomName": true, "customName": "tan", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{a_tan}", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Find the value of $y$ if $x=\\var{x[4]}^\\circ$.
\n$y=$ [[0]]$^\\circ$
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "90-{x[4]}", "maxValue": "90-{x[4]}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Find the value of $a$ $b$ when $c=\\var{a[0]}$ and $x=\\var{x[0]}^\\circ$ $y=\\var{90-x[0]}^\\circ$
\n- round your answer to two decimal places
\n$b=$ $a=$ [[0]]
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c_answer", "maxValue": "c_answer", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.
", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Find the value of $x$ $y$ if $c=\\var{fh}$ and $a=\\var{fa}$ $b=\\var{fa}$
\n- Give the angle in degrees to two decimal places
\n$y=$ $x=$ [[0]]$^\\circ$
", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_answer", "maxValue": "d_answer", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.
", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}, {"name": "Simon James (Deakin)", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18202/"}], "resources": ["question-resources/PictureTriangle_0.png"]}]}], "contributors": [{"name": "Sarah Turner", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/881/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}, {"name": "Simon James (Deakin)", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/18202/"}]}