// Numbas version: finer_feedback_settings {"name": "$\\tau$ for the circle constant", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "$\\tau$ for the circle constant", "tags": [], "metadata": {"description": "

In this question, $\\tau$ represents the ratio of a circle's radius to its circumference, or $2\\pi$.

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

$\\tau = 2\\pi$.

\n

Here's a random multiple of $\\tau$: $\\var{multiple_of_tau}$.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [{"name": "tau", "value": "2pi", "tex": "\\tau"}], "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "

The period of the function in part a is $\\tau / p$.

", "templateType": "anything", "can_override": false}, "multiple_of_tau": {"name": "multiple_of_tau", "group": "Ungrouped variables", "definition": "random(3..9)tau", "description": "

An integer multiple of $\\tau$, to show

", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["p", "multiple_of_tau"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "jme", "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 period of the function $\\simplify{sin({p}x)}$?

\n

Try tau/{p} or 2pi/{p}

", "answer": "tau/{p}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "resources": []}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}