// Numbas version: exam_results_page_options {"name": "Pythagoras Theorem", "extensions": ["eukleides", "jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Pythagoras Theorem", "extensions": ["eukleides"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": ["category: miscellaneous", "leads to: 321, Equation of a circle", "leads to: 322, Sin and Cos formula", "skill: 221, Pythagoras"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "variables": {"graph": {"name": "graph", "group": "Ungrouped variables", "definition": "eukleides(\"Right-angled triangle\",\n let(\n scale,1/2,\n pa,point(scale*b,0),\n pb,point(scale*b,scale*a),\n pc,point(0,0),\n [\n pa..pb..pc,\n pb..pa label(a),\n pc..pb label(b),\n pa..pc label(\"\u221an\")\n ]\n ),\n [\"a\":a,\"b\":b]\n)", "description": "", "templateType": "anything"}, "pairs": {"name": "pairs", "group": "Ungrouped variables", "definition": "[\n [4,10],\n [3,6],\n [3,8],\n [3,7],\n [2,5]\n]", "description": "", "templateType": "anything"}, "pair": {"name": "pair", "group": "Ungrouped variables", "definition": "random(pairs)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "pair[0]", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "pair[1]", "description": "", "templateType": "anything"}, "cs": {"name": "cs", "group": "Ungrouped variables", "definition": "b*b-a*a", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["pairs", "pair", "a", "b", "cs", "graph"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Enter the number $n$ (under the square root):

\n

{max_width(20,graph)}

", "minValue": "cs", "maxValue": "cs", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "http://localhost:8000/accounts/profile/1/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}, {"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}