// Numbas version: exam_results_page_options {"name": "Triangle sides", "extensions": [], "custom_part_types": [], "resources": [["question-resources/PYo_Q2X6MQz.PNG", "/srv/numbas/media/question-resources/PYo_Q2X6MQz.PNG"], ["question-resources/PY.png", "/srv/numbas/media/question-resources/PY.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Triangle sides", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

What is the length of the missing side of the triangle shown, if x = $\\var a$ and y =  $\\var b$ . 

", "advice": "

?2=x2+y2 

", "rulesets": {}, "extensions": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2 .. 20#0.5)", "description": "", "templateType": "randrange"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2 .. 20#0.5)", "description": "", "templateType": "randrange"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

The answer is [[0]]

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "minValue": "(sqrt((a^2)-(b^2)))*0.95", "maxValue": "(sqrt((a^2)-(b^2)))*1.05", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "contributors": [{"name": "Michael Dawson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5009/"}]}]}], "contributors": [{"name": "Michael Dawson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5009/"}]}