// Numbas version: exam_results_page_options {"name": "Ann's copy of Using Pythagoras to find a missing side (Eukleides diagrams)", "extensions": ["eukleides"], "custom_part_types": [], "resources": [["question-resources/Q2_0UOrG2O.png", "/srv/numbas/media/question-resources/Q2_0UOrG2O.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["ang1", "lent1", "ans1", "lent2", "RightAngledTriangle"], "metadata": {"description": "

Using Pythagoras' Theorem to find a missing side. Illustrated using simple Eukleides diagram

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "variablesTest": {"condition": "", "maxRuns": 100}, "parts": [{"showCorrectAnswer": true, "customMarkingAlgorithm": "", "unitTests": [], "useCustomName": false, "scripts": {}, "gaps": [{"showCorrectAnswer": true, "precision": "2", "correctAnswerFraction": false, "correctAnswerStyle": "plain", "precisionPartialCredit": 0, "scripts": {}, "variableReplacements": [], "showPrecisionHint": false, "customName": "", "marks": 1, "precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReduced": false, "useCustomName": false, "allowFractions": false, "unitTests": [], "customMarkingAlgorithm": "", "minValue": "{ans1}", "strictPrecision": false, "maxValue": "{ans1}", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "variableReplacementStrategy": "originalfirst", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "type": "numberentry"}], "variableReplacements": [], "customName": "", "marks": 0, "showFeedbackIcon": true, "prompt": "

Find the value of x correct to 2 decimal places:

\n

x = [[0]] mm

", "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "sortAnswers": false, "type": "gapfill"}], "extensions": ["eukleides"], "rulesets": {}, "variables": {"lent1": {"definition": "random(5..10)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "lent1"}, "ang1": {"definition": "random(63..65)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ang1"}, "RightAngledTriangle": {"definition": "\neukleides(\"Right Angled Triangle\",[\n let(\n [a,b,c], right(length1,length2)\n \n \n ,[\n a..b..c filled color4,\n (a..b) label(length1+\" mm\",deg(-90),0.5),\n (b..c) label(length2+\" mm\",deg(0),0.1),\n (a..c) label(\"x\"),\n angle(a,b,c) right\n ]\n )\n ],[length1:lent1,length2:lent2]\n )", "templateType": "anything", "description": "

A diagram of a right angled triangle.

", "group": "Ungrouped variables", "name": "RightAngledTriangle"}, "ans1": {"definition": "sqrt(lent1^2+lent2^2)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "ans1"}, "lent2": {"definition": "random(1..6)", "templateType": "anything", "description": "", "group": "Ungrouped variables", "name": "lent2"}}, "name": "Ann's copy of Using Pythagoras to find a missing side (Eukleides diagrams)", "advice": "

 $x^2 = \\var{lent1}^2 + \\var{lent2}^2$

\n

$x = \\sqrt(\\var{lent1}^2 + \\var{lent2}^2)$

\n

$x = \\var{ans1}$

\n

\n

", "variable_groups": [], "statement": "

\n

Use the rule of pythagoras to find the length of the unknown side.

\n

{RightAngledTriangle}

", "preamble": {"css": "", "js": ""}, "tags": [], "functions": {}, "type": "question", "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}, {"name": "Ann Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2295/"}]}]}], "contributors": [{"name": "TEAME CIT", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/591/"}, {"name": "Deirdre Casey", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/681/"}, {"name": "Ann Smith", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2295/"}]}