// Numbas version: finer_feedback_settings {"name": "Merryn's copy of Percent data in shaded region", "extensions": [], "custom_part_types": [], "resources": [["question-resources/normal6.svg", "normal6.svg"], ["question-resources/normal5.svg", "normal5.svg"], ["question-resources/normal4.svg", "normal4.svg"], ["question-resources/normal3.svg", "normal3.svg"], ["question-resources/normal2.svg", "normal2.svg"], ["question-resources/normal1.svg", "normal1.svg"], ["question-resources/norm.png", "norm.png"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Merryn's copy of Percent data in shaded region", "tags": [], "metadata": {"description": "

A normal curve is shown, with the mean and +/- 1, 2 and 3 standard deviations marked. An area of the curve is shaded and students are asked to estimate the shaded area using the heuristic rule. There are 6 possible areas: (-infty, mu-2sd), (mu-2sd, mu-1sd), (mu-1sd,mu), (mu, mu+1sd), (mu+1sd, mu+2sd), (mu+2sd, infty). The mean and standard deviation are randomised.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Here is a hard copy of the image pasted into the question statement. It works.

\n

\n

Here is a variable created using the \"image\" command. It renders correctly in the variable tab, but not here.

\n

{TheGraph}

\n

Here the image is called using the image command on the question statement page: (inside curly brackets) \"image('resources/question-resources/'+img)\". This used to work, but no longer works.

\n

{image('resources/question-resources/'+img)}

\n

The normal distribution shown has a mean of $\\var{mean}$ and a standard deviation of $\\var{stdev}$.

\n

", "advice": "

Using our knowledge of the approximate areas between $\\pm1$, $2$ and $3$ standard deviations of the mean, we can calculate the area in any section of the normal curve, as shown. We can then add up the required areas to get value for the required area.

\n

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true, "j": false}, "constants": [], "variables": {"mean": {"name": "mean", "group": "Ungrouped variables", "definition": "random(-1000..1000)", "description": "", "templateType": "anything", "can_override": false}, "stdev": {"name": "stdev", "group": "Ungrouped variables", "definition": "random(10..100)", "description": "", "templateType": "anything", "can_override": false}, "u": {"name": "u", "group": "Ungrouped variables", "definition": "mean", "description": "", "templateType": "anything", "can_override": false}, "up1": {"name": "up1", "group": "Ungrouped variables", "definition": "mean + stdev", "description": "", "templateType": "anything", "can_override": false}, "up2": {"name": "up2", "group": "Ungrouped variables", "definition": "mean + 2*stdev", "description": "", "templateType": "anything", "can_override": false}, "up3": {"name": "up3", "group": "Ungrouped variables", "definition": "mean + 3*stdev", "description": "", "templateType": "anything", "can_override": false}, "um1": {"name": "um1", "group": "Ungrouped variables", "definition": "mean - stdev", "description": "", "templateType": "anything", "can_override": false}, "um2": {"name": "um2", "group": "Ungrouped variables", "definition": "mean - 2*stdev", "description": "", "templateType": "anything", "can_override": false}, "um3": {"name": "um3", "group": "Ungrouped variables", "definition": "mean - 3*stdev", "description": "", "templateType": "anything", "can_override": false}, "idx": {"name": "idx", "group": "Ungrouped variables", "definition": "random(1..6)", "description": "", "templateType": "anything", "can_override": false}, "img": {"name": "img", "group": "Ungrouped variables", "definition": "[\"normal1.svg\",\"normal2.svg\",\"normal3.svg\",\"normal4.svg\",\"normal5.svg\",\"normal6.svg\"][idx-1]", "description": "", "templateType": "anything", "can_override": false}, "ans": {"name": "ans", "group": "Ungrouped variables", "definition": "[2.5,13.5,34,34,13.5,2.5][idx-1]", "description": "", "templateType": "anything", "can_override": false}, "TheGraph": {"name": "TheGraph", "group": "Ungrouped variables", "definition": "image('resources/question-resources/'+img)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["mean", "stdev", "u", "up1", "up2", "up3", "um1", "um2", "um3", "idx", "img", "ans", "TheGraph"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "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 percentage of the data lie in the shaded region?

\n

(enter only a number without the % sign)

", "minValue": "{ans}", "maxValue": "{ans}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}], "resources": ["question-resources/normal6.svg", "question-resources/normal5.svg", "question-resources/normal4.svg", "question-resources/normal3.svg", "question-resources/normal2.svg", "question-resources/normal1.svg", "question-resources/norm.png"]}]}], "contributors": [{"name": "Merryn Horrocks", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4052/"}]}