// Numbas version: finer_feedback_settings {"name": "Polar graph (geogebra) #1", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Polar graph (geogebra) #1", "tags": [], "metadata": {"description": "

This uses an embedded Geogebra graph of a polar function with random coefficients set by NUMBAS.

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Look at the polar graphs below and try to choose the correct function from the list.

\n

Use the sliders to change the value of $\\theta$ and to trace the curve.

", "advice": "", "rulesets": {}, "extensions": ["geogebra"], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"f1": {"name": "f1", "group": "Ungrouped variables", "definition": "4*func1({a1}*t)", "description": "", "templateType": "anything", "can_override": false}, "f22c": {"name": "f22c", "group": "Ungrouped variables", "definition": "expression(\"{2*a2}*theta\")", "description": "", "templateType": "anything", "can_override": false}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(2,3,4,5)", "description": "", "templateType": "anything", "can_override": false}, "f22d": {"name": "f22d", "group": "Ungrouped variables", "definition": "expression(\"{3*{a2}}*theta\")", "description": "", "templateType": "anything", "can_override": false}, "defs2": {"name": "defs2", "group": "Ungrouped variables", "definition": "[\n ['a',t],\n ['f(t)',f2]\n]", "description": "", "templateType": "anything", "can_override": false}, "f11a": {"name": "f11a", "group": "Ungrouped variables", "definition": "expression(\"4\"+random(\"sin\",\"cos\")+\"({a1}theta)\")", "description": "", "templateType": "anything", "can_override": false}, "f22a": {"name": "f22a", "group": "Ungrouped variables", "definition": "expression(\"{a2}*theta\")", "description": "", "templateType": "anything", "can_override": false}, "func1": {"name": "func1", "group": "Ungrouped variables", "definition": "substitute(function(random(\"sin\",\"cos\")),\"x\")", "description": "", "templateType": "anything", "can_override": false}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(0.25,0.5,1,1.5,2)", "description": "", "templateType": "anything", "can_override": false}, "f11d": {"name": "f11d", "group": "Ungrouped variables", "definition": "if(func1=\"sin\",expression(\"4*cos({a1}*theta)\"),expression(\"4*sin({a1}*theta)\"))", "description": "", "templateType": "anything", "can_override": false}, "f2": {"name": "f2", "group": "Ungrouped variables", "definition": "\"{a2}*t\"", "description": "", "templateType": "anything", "can_override": false}, "defs1": {"name": "defs1", "group": "Ungrouped variables", "definition": "[\n ['a',t],\n ['f(t)',f1]\n]", "description": "", "templateType": "anything", "can_override": false}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "anything", "can_override": false}, "f11b": {"name": "f11b", "group": "Ungrouped variables", "definition": "expression(\"4\"+{func1}+\"({a1+random(1,-1)}*theta)\") ", "description": "", "templateType": "anything", "can_override": false}, "f11c": {"name": "f11c", "group": "Ungrouped variables", "definition": "if(func1=\"sin\",expression(\"4*cos({a1+random(1,-1)}*theta)\"),expression(\"4*sin({a1+random(1,-1)}*theta)\"))", "description": "", "templateType": "anything", "can_override": false}, "f22b": {"name": "f22b", "group": "Ungrouped variables", "definition": "expression(\"{a2/2}*theta\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": "200"}, "ungrouped_variables": ["t", "defs1", "f1", "a1", "func1", "f11a", "f11b", "f11c", "f11d", "a2", "f2", "defs2", "f22a", "f22b", "f22c", "f22d"], "variable_groups": [], "functions": {"geogebra": {"parameters": [], "type": "html", "language": "javascript", "definition": "{geogebra_base64('https://ggbm.at/AAngd6jz',200,400)}"}}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "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": "

{geogebra_applet('https://ggbm.at/AAngd6jz', defs1,[] )}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$r=\\simplify{{f11a}}$

", "

$r=\\simplify{{f11b}}$

", "

$r=\\simplify{{f11c}}$

", "

$r=\\simplify{{f11d}}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "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": "

{geogebra_applet('https://ggbm.at/YtH99Gs6', defs2, [])}

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

$r=\\simplify{{f22a}}$

", "

$r=\\simplify{{f22b}}$

", "

$r=\\simplify{{f22c}}$

", "

$r=\\simplify{{f22d}}$

"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}]}], "contributors": [{"name": "Adrian Jannetta", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/164/"}]}