// Numbas version: finer_feedback_settings {"name": "Mean missing data", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Mean missing data", "variables": {"f": {"name": "f", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)"}, "tot": {"name": "tot", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "a+b+c+d"}, "g": {"name": "g", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "5*mean"}, "d": {"name": "d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)"}, "b": {"name": "b", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(1..9#1)"}, "c": {"name": "c", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(1..9#1)"}, "mean": {"name": "mean", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "(a+b+c+d+f)/5"}, "a": {"name": "a", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(1..9)"}}, "advice": "
$\\frac{\\var{a}+\\var{b}+\\var{c}+\\var{d}+x}{5}=\\var{mean}$,
\n$\\var{a}+\\var{b}+\\var{c}+\\var{d}+x=5\\times\\var{mean}$,
\n\n$\\var{tot}+x=\\var{g}$,
\n$x=\\var{g}-\\var{tot}$
\n$x=\\var{f}$
\n", "variable_groups": [], "ungrouped_variables": ["a", "b", "c", "d", "f", "mean", "g", "tot"], "tags": ["mean", "Rebel", "REBEL", "rebel", "rebelmaths"], "metadata": {"description": "rebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "extensions": [], "parts": [{"type": "gapfill", "showFeedbackIcon": true, "steps": [{"type": "information", "showFeedbackIcon": true, "marks": 0, "prompt": "To find the mean of a set of numbers add them together and divide by the number of numbers.
", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "showCorrectAnswer": true, "scripts": {}}], "marks": 0, "stepsPenalty": "1", "prompt": "The mean of $\\var{a}, \\var{b}, \\var{c}, \\var{d}$ and $x$ is $\\var{mean}$, find the value of $x$.
\n$x=$[[0]]
", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "gaps": [{"allowFractions": false, "minValue": "{f}", "correctAnswerStyle": "plain", "marks": 1, "correctAnswerFraction": false, "notationStyles": ["plain", "en", "si-en"], "variableReplacements": [], "scripts": {}, "maxValue": "{f}", "type": "numberentry", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "showCorrectAnswer": true, "scripts": {}}], "statement": "Find the value of x given information about the mean
", "functions": {}, "preamble": {"css": "", "js": ""}, "variablesTest": {"maxRuns": 100, "condition": ""}, "rulesets": {}, "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}