// Numbas version: exam_results_page_options {"name": "Area of Triangle", "extensions": ["eukleides", "jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Area of Triangle", "tags": ["category: area+volume", "leads to: 261, Area of trapezium", "leads to: 262, Area and circumference of a circle", "skill: 161, Area of a triangle"], "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "extensions": ["eukleides", "jsxgraph"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"drawingA": {"name": "drawingA", "group": "Ungrouped variables", "definition": "let(\n p1,point(-3,-2),\n p2,point(2,-2),\n p3,point(3,2),\n maxx,max(map(x(p),p,[p1,p2,p3])),\n minx,min(map(x(p),p,[p1,p2,p3])),\n maxy,max(map(y(p),p,[p1,p2,p3])),\n miny,min(map(y(p),p,[p1,p2,p3])),\n base,x(p2)-x(p1),\n height,maxy-miny,\n eukleides(\"A triangle with base {base} and height {height}\",\n [\n p1..p2..p3,\n point(maxx+0.5,maxy)..point(maxx+0.5,miny) arrows label(height),\n (p2-vector(0,0.5))..(p1-vector(0,0.5)) arrows label(base)\n ]\n )\n)", "description": "", "templateType": "anything", "can_override": false}, "groups": {"name": "groups", "group": "Ungrouped variables", "definition": "[\n [drawingA,10],\n [drawingB,5],\n [drawingC,6]\n]", "description": "", "templateType": "anything", "can_override": false}, "drawingB": {"name": "drawingB", "group": "Ungrouped variables", "definition": "let(\n p1,point(-2,-2),\n p2,point(3,0),\n p3,point(3,2),\n height,x(p2)-x(p1),\n base,y(p3)-y(p2),\n eukleides(\"A triangle with base {base} and height {height}\",\n [\n p1..p2..p3,\n point(3.5,2)..point(3.5,0) arrows label(height),\n point(3,-2.5)..point(-2,-2.5) arrows label(base)\n ]\n )\n)", "description": "", "templateType": "anything", "can_override": false}, "drawingC": {"name": "drawingC", "group": "Ungrouped variables", "definition": "let(\n p1,point(-2,-2),\n p2,point(1,-2),\n p3,point(3,2),\n height,y(p3)-y(p1),\n base,x(p2)-x(p1),\n eukleides(\"A triangle with base {base} and height {height}\",\n [\n p1..p2..p3,\n point(3.5,2)..point(3.5,-2) arrows label(height),\n point(1,-2.5)..point(-2,-2.5) arrows label(base)\n ]\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}, "area": {"name": "area", "group": "Ungrouped variables", "definition": "group[1]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["drawingA", "drawingB", "drawingC", "groups", "group", "drawing", "area"], "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": "

What is the area of the triangle shown?

\n

{max_width(30,drawing)}

", "minValue": "area", "maxValue": "area", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": false, "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/"}]}]}], "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/"}]}