// Numbas version: finer_feedback_settings {"name": "2.6.3 Circle radius and centre", "extensions": ["jsxgraph"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "2.6.3 Circle radius and centre", "tags": [], "metadata": {"description": "
Given a circle equation in the form (x-a)^2+(y-b)^2=r^2, write down the radius and centre coordinates.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "Write down the radius and the coordinates of the centre of the following circle
\n$\\var{equation}$
", "advice": "The centre and radius can be read directly from the equation:
\nCentre = ($\\var{centrex},\\var{centrey}$)
\nRadius = $\\var{radius}$
", "rulesets": {}, "extensions": ["jsxgraph"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"centrex": {"name": "centrex", "group": "The circle", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "centrey": {"name": "centrey", "group": "The circle", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "radius": {"name": "radius", "group": "The circle", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "equation": {"name": "equation", "group": "The circle", "definition": "random(\n simplify(expression(\"(x-\" + centrex + \")^2+(y-\"+ centrey + \")^2 = \" + radius*radius ),\"all\"),\n simplify(expression(\"(x-\" + centrex + \")^2+(y-\"+ centrey + \")^2 - \" + radius*radius + \"=0\"),\"all\")\n)", "description": "", "templateType": "anything", "can_override": false}, "graph": {"name": "graph", "group": "The graph", "definition": "jessiecode(\n 400,400,[{xmin},{ymax},{xmax},{ymin}],\"r={radius};Cx={centrex};Cy={centrey};\"+safe(\n \"\"\"\n C=point(Cx,Cy) <Centre = ( [[0]],[[1]] )
\nRadius = [[2]]
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "centre x", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{centrex}", "maxValue": "{centrex}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "centre y", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{centrey}", "maxValue": "{centrey}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "radius", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "{radius}", "maxValue": "{radius}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "resources": []}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}