// Numbas version: exam_results_page_options {"name": "Similar triangles", "extensions": ["eukleides", "jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Similar triangles", "extensions": ["eukleides", "jsxgraph"], "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: area+volume", "leads to: 362, Area/Length relationship", "skill: 263, Similar triangles"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"drawingA": {"name": "drawingA", "group": "Ungrouped variables", "definition": "eukleides(\"Two similar triangles, with sides 4,7,a and 12,b,27\",\nlet(\np1,point(2,2),\np2,point(5,2),\np3,point(7,7),\np4,point(13,2),\np5,point(22,2),\np6,point(28,17),\ns1,label(4),\ns2,label(7),\ns3,label(\"a\") italic,\ns4,label(12),\ns5,label(\"b\") italic,\ns6,label(27),\nstroke,size(4),\n[\n p1..p2..p3 stroke, p4..p5..p6 stroke,\np2..p1 s1 stroke,\np3..p2 s2 stroke,\np1..p3 s3 stroke,\np5..p4 s4 stroke,\np6..p5 s5 stroke,\np4..p6 s6 stroke\n]\n))", "description": "", "templateType": "anything", "can_override": false}, "groups": {"name": "groups", "group": "Ungrouped variables", "definition": "[\n [drawingA,9,21],\n [drawingB,4,24],\n [drawingC,11,24],\n [drawingD,5,21],\n [drawingE,7,25]\n]", "description": "", "templateType": "anything", "can_override": false}, "drawingB": {"name": "drawingB", "group": "Ungrouped variables", "definition": "eukleides(\"Two similar triangles, with sides a,5,6 and 16,20,b\",\nlet(\np1,point(2,2),\np2,point(5,2),\np3,point(7,7),\np4,point(13,2),\np5,point(22,2),\np6,point(28,17),\ns1,label(\"a\") italic,\ns2,label(5),\ns3,label(6),\ns4,label(16),\ns5,label(20),\ns6,label(\"b\") italic,\nstroke,size(4),\n[\n p1..p2..p3 stroke, p4..p5..p6 stroke,\np2..p1 s1 stroke,\np3..p2 s2 stroke,\np1..p3 s3 stroke,\np5..p4 s4 stroke,\np6..p5 s5 stroke,\np4..p6 s6 stroke\n]\n))", "description": "", "templateType": "anything", "can_override": false}, "drawingC": {"name": "drawingC", "group": "Ungrouped variables", "definition": "eukleides(\"Two similar triangles, with sides 5,8,a and 15,b,33\",\nlet(\np1,point(2,2),\np2,point(5,2),\np3,point(7,7),\np4,point(13,2),\np5,point(22,2),\np6,point(28,17),\ns1,label(5),\ns2,label(8),\ns3,label(\"a\") italic,\ns4,label(15),\ns5,label(\"b\") italic,\ns6,label(33),\nstroke,size(4),\n[\n p1..p2..p3 stroke, p4..p5..p6 stroke,\np2..p1 s1 stroke,\np3..p2 s2 stroke,\np1..p3 s3 stroke,\np5..p4 s4 stroke,\np6..p5 s5 stroke,\np4..p6 s6 stroke\n]\n))", "description": "", "templateType": "anything", "can_override": false}, "drawingD": {"name": "drawingD", "group": "Ungrouped variables", "definition": "eukleides(\"Two similar triangles, with sides a,6,7 and 15,18,b\",\nlet(\np1,point(2,2),\np2,point(5,2),\np3,point(7,7),\np4,point(13,2),\np5,point(22,2),\np6,point(28,17),\ns1,label(\"a\") italic,\ns2,label(6),\ns3,label(7),\ns4,label(15),\ns5,label(18),\ns6,label(\"b\") italic,\nstroke,size(4),\n[\n p1..p2..p3 stroke, p4..p5..p6 stroke,\np2..p1 s1 stroke,\np3..p2 s2 stroke,\np1..p3 s3 stroke,\np5..p4 s4 stroke,\np6..p5 s5 stroke,\np4..p6 s6 stroke\n]\n))", "description": "", "templateType": "anything", "can_override": false}, "drawingE": {"name": "drawingE", "group": "Ungrouped variables", "definition": "eukleides(\"Two similar triangles, with sides 3,5,a and 15,b,35\",\nlet(\np1,point(2,2),\np2,point(5,2),\np3,point(7,7),\np4,point(13,2),\np5,point(22,2),\np6,point(28,17),\ns1,label(3),\ns2,label(5),\ns3,label(\"a\") italic,\ns4,label(15),\ns5,label(\"b\") italic,\ns6,label(35),\nstroke,size(4),\n[\n p1..p2..p3 stroke, p4..p5..p6 stroke,\np2..p1 s1 stroke,\np3..p2 s2 stroke,\np1..p3 s3 stroke,\np5..p4 s4 stroke,\np6..p5 s5 stroke,\np4..p6 s6 stroke\n]\n))", "description": "", "templateType": "anything", "can_override": false}, "group": {"name": "group", "group": "Ungrouped variables", "definition": "random(groups)", "description": "", "templateType": "anything", "can_override": false}, "drawing": {"name": "drawing", "group": "Ungrouped variables", "definition": "group[0]", "description": "", "templateType": "anything", "can_override": false}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "group[1]", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "group[2]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["drawingA", "drawingB", "drawingC", "drawingD", "drawingE", "groups", "group", "drawing", "a", "b"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

We have two similar triangles as shown:

\n

{max_width(30,drawing)}

\n

Enter the lengths of sides $a$ and $b$:

\n

$a = $ [[0]]

\n

$b = $ [[1]]

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "$a$", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "a", "maxValue": "a", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "$b$", "marks": "0.5", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "b", "maxValue": "b", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "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/"}]}