// Numbas version: exam_results_page_options {"name": "Geometry. Right-angled triangle. Lengths given, sin, cos, tan asked for", "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": [{"advice": "

See 3.4 and 3.5 for background and examples

", "extensions": [], "preamble": {"js": "", "css": ""}, "variable_groups": [], "tags": [], "variables": {"b": {"name": "b", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "bc[0][0]"}, "a": {"name": "a", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "precround(sqrt(b^2+c^2),1)"}, "bc": {"name": "bc", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "[[1,2],[1,3],[1,4],[2,3],[2,5],[3,4],[3,5],[6,9],[6,10],[8,10]]"}, "c": {"name": "c", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "bc[0][1]"}, "q": {"name": "q", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "shuffle([[expression('sin(x)'),expression('{b}/{a}')],\n [expression('cos(x)'),expression('{c}/{a}')],\n [expression('tan(x)'),expression('{b}/{c}')],\n [expression('sin(y)'),expression('{c}/{a}')],\n [expression('cos(y)'),expression('{b}/{a}')],\n [expression('tan(y)'),expression('{c}/{b}')]\n ])"}}, "name": "Geometry. Right-angled triangle. Lengths given, sin, cos, tan asked for", "rulesets": {}, "ungrouped_variables": ["bc", "b", "c", "a", "q"], "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Lengths in right-angled triangle a provided. sin, cos and tan of angle asked for"}, "parts": [{"scripts": {}, "prompt": "

$a=\\var{a}, b=\\var{b}$ and $c = \\var{c}$.

\n

What calculation would you do to determine the following. You can leave your answer as a fraction; it does not need to be simplified.

\n

$\\simplify{{q[0][0]}} =$ [[0]]

\n

$\\simplify{{q[1][0]}} =$ [[1]]

\n

$\\simplify{{q[2][0]}} =$ [[2]]

\n

$\\simplify{{q[3][0]}} =$ [[3]]

", "marks": 0, "gaps": [{"scripts": {}, "valuegenerators": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "vsetRangePoints": 5, "answer": "{q[0][1]}", "type": "jme", "unitTests": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "customName": "", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showCorrectAnswer": true, "marks": "0.5", "answerSimplification": "!all", "checkVariableNames": false, "useCustomName": false}, {"scripts": {}, "valuegenerators": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "vsetRangePoints": 5, "answer": "{q[1][1]}", "type": "jme", "unitTests": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "customName": "", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showCorrectAnswer": true, "marks": "0.5", "checkVariableNames": false, "useCustomName": false}, {"scripts": {}, "valuegenerators": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "vsetRangePoints": 5, "answer": "{q[2][1]}", "type": "jme", "unitTests": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "customName": "", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showCorrectAnswer": true, "marks": "0.5", "checkVariableNames": false, "useCustomName": false}, {"scripts": {}, "valuegenerators": [], "variableReplacements": [], "adaptiveMarkingPenalty": 0, "showFeedbackIcon": true, "failureRate": 1, "extendBaseMarkingAlgorithm": true, "checkingType": "absdiff", "vsetRangePoints": 5, "answer": "{q[3][1]}", "type": "jme", "unitTests": [], "customMarkingAlgorithm": "", "vsetRange": [0, 1], "checkingAccuracy": 0.001, "customName": "", "variableReplacementStrategy": "originalfirst", "showPreview": true, "showCorrectAnswer": true, "marks": "0.5", "checkVariableNames": false, "useCustomName": false}], "unitTests": [], "variableReplacements": [], "customMarkingAlgorithm": "", "customName": "", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "useCustomName": false, "sortAnswers": false, "adaptiveMarkingPenalty": 0, "type": "gapfill"}], "statement": "

\n

(Note the diagram is not drawn to scale)

", "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/"}]}