// Numbas version: exam_results_page_options {"name": "Right-angled triangle II", "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": [{"name": "Right-angled triangle II", "advice": "", "variable_groups": [], "ungrouped_variables": ["c", "a", "x", "y", "b"], "functions": {}, "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "type": "question", "statement": "

This is a calculator question. You will need to use Pythagorus Theorem and SOH CAH TOA. Google these if you need a recap.

\n

", "preamble": {"js": "", "css": ""}, "tags": [], "parts": [{"customMarkingAlgorithm": "", "sortAnswers": false, "scripts": {}, "prompt": "

$a=\\var{a}$ and $c = \\var{c}$. Calculate the other quantities.

\n

$x = $ [[0]]

\n

$y =$ [[1]]

\n

$b = $ [[2]]

\n

\n

Give your angles in degrees and give all answers to 3 s.f.

", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showFeedbackIcon": true, "marks": 0, "unitTests": [], "gaps": [{"customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{x}", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "unitTests": [], "allowFractions": false, "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "minValue": "{x}"}, {"customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{y}", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "unitTests": [], "allowFractions": false, "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "minValue": "{y}"}, {"customMarkingAlgorithm": "", "correctAnswerStyle": "plain", "scripts": {}, "maxValue": "{b}", "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "marks": 1, "unitTests": [], "allowFractions": false, "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "minValue": "{b}"}], "variableReplacements": []}], "rulesets": {}, "metadata": {"description": "

Finding unknown sides/angles in right-angled triangles.

\n

Version 1: b,c known

\n

Version 2: a,x known

\n

Version 3: a,y known

\n

Version 4: b,x known

\n

Version 5: b,a known

\n

Version 6: c,a known

", "licence": "Creative Commons Attribution 4.0 International"}, "variables": {"b": {"templateType": "anything", "definition": "siground(sqrt(a^2-c^2),3)\n", "description": "", "group": "Ungrouped variables", "name": "b"}, "y": {"templateType": "anything", "definition": "90-x", "description": "", "group": "Ungrouped variables", "name": "y"}, "a": {"templateType": "anything", "definition": "round(1.4*c)-random(3..6)", "description": "", "group": "Ungrouped variables", "name": "a"}, "x": {"templateType": "anything", "definition": "siground(arccos(c/a)/pi*180,3)", "description": "", "group": "Ungrouped variables", "name": "x"}, "c": {"templateType": "anything", "definition": "random(20..45)", "description": "", "group": "Ungrouped variables", "name": "c"}}, "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}