// Numbas version: exam_results_page_options {"name": "Geometry. Right-angled triangle II. All versions", "extensions": [], "custom_part_types": [], "resources": [["question-resources/triangle_6nKlln9.png", "/srv/numbas/media/question-resources/triangle_6nKlln9.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["variables", "values", "rand", "q1", "ans1", "q2", "ans2"], "extensions": [], "preamble": {"js": "", "css": ""}, "statement": "

This is a calculator question. The diagram below is not drawn to scale.

\n

", "advice": "", "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "name": "Geometry. Right-angled triangle II. All versions", "variable_groups": [{"name": "version 1", "variables": ["b1", "c1", "a1", "x1", "y1"]}, {"name": "version 2", "variables": ["a2", "x2", "y2", "b2", "c2"]}, {"name": "version 3", "variables": ["a3", "y3", "x3", "b3", "c3"]}, {"name": "version 4", "variables": ["x4", "b4", "y4", "a4", "c4"]}, {"name": "version 5", "variables": ["b5", "a5", "c5", "x5", "y5"]}, {"name": "version 6", "variables": ["c6", "a6", "x6", "y6", "b6"]}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Finding unknown sides/angles in right-angled triangles.  6 different combinations of unknowns are included in this single question. Makes my previous questions redundant

"}, "variables": {"a2": {"name": "a2", "templateType": "anything", "definition": "random(5..50)", "description": "", "group": "version 2"}, "y4": {"name": "y4", "templateType": "anything", "definition": "90-x4", "description": "", "group": "version 4"}, "x4": {"name": "x4", "templateType": "anything", "definition": "random(15..40)", "description": "", "group": "version 4"}, "b5": {"name": "b5", "templateType": "anything", "definition": "random(5..18)", "description": "", "group": "version 5"}, "c6": {"name": "c6", "templateType": "anything", "definition": "random(20..45)", "description": "", "group": "version 6"}, "y5": {"name": "y5", "templateType": "anything", "definition": "90-x5", "description": "", "group": "version 5"}, "variables": {"name": "variables", "templateType": "anything", "definition": "[\n ['b','c','a','x','y'],\n ['a','x','y','b','c'],\n ['a','y','x','b','c'],\n ['x','b','y','a','c'],\n ['b','a','c','x','y'],\n ['c','a','x','y','b']\n ]", "description": "", "group": "Ungrouped variables"}, "c1": {"name": "c1", "templateType": "anything", "definition": "random(1..5)+b1", "description": "", "group": "version 1"}, "x2": {"name": "x2", "templateType": "anything", "definition": "random(15..40)", "description": "", "group": "version 2"}, "x5": {"name": "x5", "templateType": "anything", "definition": "siground(arcsin(b5/a5)/pi*180,3)", "description": "", "group": "version 5"}, "a6": {"name": "a6", "templateType": "anything", "definition": "round(1.4*c6)-random(3..6)", "description": "", "group": "version 6"}, "x3": {"name": "x3", "templateType": "anything", "definition": "90-y3", "description": "", "group": "version 3"}, "y3": {"name": "y3", "templateType": "anything", "definition": "random(50..75)", "description": "", "group": "version 3"}, "x6": {"name": "x6", "templateType": "anything", "definition": "siground(arccos(c6/a6)/pi*180,3)", "description": "", "group": "version 6"}, "a5": {"name": "a5", "templateType": "anything", "definition": "round(1.4*b5)+random(3..7)", "description": "", "group": "version 5"}, "q2": {"name": "q2", "templateType": "anything", "definition": "variables[rand[1]]", "description": "", "group": "Ungrouped variables"}, "a1": {"name": "a1", "templateType": "anything", "definition": "siground(sqrt(b1^2+c1^2),3)", "description": "", "group": "version 1"}, "b4": {"name": "b4", "templateType": "anything", "definition": "random(3..20)", "description": "", "group": "version 4"}, "values": {"name": "values", "templateType": "anything", "definition": "[\n [b1,c1,a1,x1,y1],\n [a2,x2,y2,b2,c2],\n [a3,y3,x3,b3,c3],\n [x4,b4,y4,a4,c4],\n [b5,a5,c5,x5,y5],\n [c6,a6,x6,y6,b6]\n ]", "description": "", "group": "Ungrouped variables"}, "c5": {"name": "c5", "templateType": "anything", "definition": "siground(sqrt(a5^2-b5^2),3)", "description": "", "group": "version 5"}, "c3": {"name": "c3", "templateType": "anything", "definition": "siground(a3*sin(y3/180*pi),3)", "description": "", "group": "version 3"}, "a4": {"name": "a4", "templateType": "anything", "definition": "siground(b4/sin(x4/180*pi),3)", "description": "", "group": "version 4"}, "ans1": {"name": "ans1", "templateType": "anything", "definition": "values[rand[0]]", "description": "", "group": "Ungrouped variables"}, "y1": {"name": "y1", "templateType": "anything", "definition": "siground(arctan(c1/b1)/pi*180,3)", "description": "", "group": "version 1"}, "x1": {"name": "x1", "templateType": "anything", "definition": "siground(arctan(b1/c1)/pi*180,3)", "description": "", "group": "version 1"}, "q1": {"name": "q1", "templateType": "anything", "definition": "variables[rand[0]]", "description": "", "group": "Ungrouped variables"}, "a3": {"name": "a3", "templateType": "anything", "definition": "random(5..50)", "description": "", "group": "version 3"}, "rand": {"name": "rand", "templateType": "anything", "definition": "shuffle([\n random(1..3),random([0,4,5])\n ])", "description": "", "group": "Ungrouped variables"}, "b1": {"name": "b1", "templateType": "anything", "definition": "random(4..20)", "description": "", "group": "version 1"}, "b2": {"name": "b2", "templateType": "anything", "definition": "siground(a2*sin(x2/180*pi),3)", "description": "", "group": "version 2"}, "c2": {"name": "c2", "templateType": "anything", "definition": "siground(a2*cos(x2/180*pi),3)", "description": "", "group": "version 2"}, "b6": {"name": "b6", "templateType": "anything", "definition": "siground(sqrt(a6^2-c6^2),3)", "description": "", "group": "version 6"}, "c4": {"name": "c4", "templateType": "anything", "definition": "siground(b4/tan(x4/180*pi),3)", "description": "", "group": "version 4"}, "b3": {"name": "b3", "templateType": "anything", "definition": "siground(a3*cos(y3/180*pi),3)", "description": "", "group": "version 3"}, "y2": {"name": "y2", "templateType": "anything", "definition": "90-x2", "description": "", "group": "version 2"}, "y6": {"name": "y6", "templateType": "anything", "definition": "90-x6", "description": "", "group": "version 6"}, "ans2": {"name": "ans2", "templateType": "anything", "definition": "values[rand[1]]", "description": "", "group": "Ungrouped variables"}}, "rulesets": {}, "parts": [{"useCustomName": false, "showCorrectAnswer": true, "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"allowFractions": false, "useCustomName": false, "minValue": "{ans1[2]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans1[2]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"allowFractions": false, "useCustomName": false, "minValue": "{ans1[3]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans1[3]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"allowFractions": false, "useCustomName": false, "minValue": "{ans1[4]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans1[4]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}], "customMarkingAlgorithm": "", "type": "gapfill", "customName": "", "marks": 0, "showFeedbackIcon": true, "prompt": "

If $\\simplify{{expression(q1[0])}}=\\var{ans1[0]}$ and $\\simplify{{expression(q1[1])}}=\\var{ans1[1]}$, what are the other quantities equal to?

\n

$\\simplify{{expression(q1[2])}} = $ [[0]]

\n

$\\simplify{{expression(q1[3])}} = $ [[1]]

\n

$\\simplify{{expression(q1[4])}} = $ [[2]]

\n

\n

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

\n

\n

", "variableReplacements": [], "adaptiveMarkingPenalty": 0}, {"useCustomName": false, "showCorrectAnswer": true, "sortAnswers": false, "extendBaseMarkingAlgorithm": true, "scripts": {}, "variableReplacementStrategy": "originalfirst", "unitTests": [], "gaps": [{"allowFractions": false, "useCustomName": false, "minValue": "{ans2[2]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans2[2]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"allowFractions": false, "useCustomName": false, "minValue": "{ans2[3]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans2[3]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}, {"allowFractions": false, "useCustomName": false, "minValue": "{ans2[4]}", "mustBeReduced": false, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "customMarkingAlgorithm": "", "type": "numberentry", "customName": "", "maxValue": "{ans2[4]}", "variableReplacements": [], "marks": 1, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "showFractionHint": true, "adaptiveMarkingPenalty": 0, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "mustBeReducedPC": 0, "correctAnswerStyle": "plain"}], "customMarkingAlgorithm": "", "type": "gapfill", "customName": "", "marks": 0, "showFeedbackIcon": true, "prompt": "

If $\\simplify{{expression(q2[0])}}=\\var{ans2[0]}$ and $\\simplify{{expression(q2[1])}}=\\var{ans2[1]}$, what are the other quantities equal to?

\n

$\\simplify{{expression(q2[2])}} = $ [[0]]

\n

$\\simplify{{expression(q2[3])}} = $ [[1]]

\n

$\\simplify{{expression(q2[4])}} = $ [[2]]

\n

\n

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

", "variableReplacements": [], "adaptiveMarkingPenalty": 0}], "functions": {}, "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}