// Numbas version: exam_results_page_options {"name": "NUMBAS - Circles", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "extensions": [], "tags": ["circles", "graphing"], "ungrouped_variables": ["a", "b", "r", "rs"], "name": "NUMBAS - Circles", "rulesets": {}, "functions": {}, "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Recognising that $(x-a)^2+(y-b)^2=r^2$ is a circle of radius $r$ with centre $(a,b)$ 

"}, "showQuestionGroupNames": false, "statement": "

You are given the equation $\\simplify{(x-{a})^2+(y-{b})^2={rs}}$.

", "variablesTest": {"condition": "", "maxRuns": 100}, "variables": {"rs": {"group": "Ungrouped variables", "definition": "r^2", "templateType": "anything", "name": "rs", "description": ""}, "b": {"group": "Ungrouped variables", "definition": "random(-12..12 except 0)", "templateType": "anything", "name": "b", "description": ""}, "a": {"group": "Ungrouped variables", "definition": "random(-12..12)", "templateType": "anything", "name": "a", "description": ""}, "r": {"group": "Ungrouped variables", "definition": "random(1..12)", "templateType": "anything", "name": "r", "description": ""}}, "type": "question", "question_groups": [{"questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0, "name": ""}], "variable_groups": [], "parts": [{"marks": 0, "gaps": [{"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{r}", "maxValue": "{r}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a}", "maxValue": "{a}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{b}", "maxValue": "{b}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}], "variableReplacementStrategy": "originalfirst", "scripts": {}, "variableReplacements": [], "prompt": "

The equation $\\simplify{(x-{a})^2+(y-{b})^2={rs}}$ is the equation of a circle with radius [[0]]  centred at the point $\\large($ [[1]], [[2]]$\\large)$. 

", "showCorrectAnswer": true, "type": "gapfill"}, {"marks": 0, "gaps": [{"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a}", "maxValue": "{a}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{b+r}", "maxValue": "{b+r}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a}", "maxValue": "{a}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{b-r}", "maxValue": "{b-r}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a-r}", "maxValue": "{a-r}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{b}", "maxValue": "{b}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{a+r}", "maxValue": "{a+r}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}, {"correctAnswerFraction": false, "showPrecisionHint": false, "variableReplacementStrategy": "originalfirst", "minValue": "{b}", "maxValue": "{b}", "scripts": {}, "showCorrectAnswer": true, "marks": 1, "type": "numberentry", "allowFractions": false, "variableReplacements": []}], "variableReplacementStrategy": "originalfirst", "scripts": {}, "variableReplacements": [], "prompt": "

The above information allows us to find four points of the circle easily:

\n", "showCorrectAnswer": true, "type": "gapfill"}], "advice": "

The equation of a circle with radius $r$ and centre $(a,b)$ is $(x-a)^2+(y-b)^2=r^2$.

\n", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Katy Dobson", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/854/"}]}