// Numbas version: exam_results_page_options {"name": "Brad's copy of nuExam08 - Normal Distribution", "extensions": ["stats"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

The salary of an electrician is normally distributed with mean £{m} and standard deviation £{s}.

\n

 

", "metadata": {"description": "

Given a random variable $X$  normally distributed as $\\operatorname{N}(m,\\sigma^2)$ find probabilities $P(X \\gt a),\\; a \\gt m;\\;\\;P(X \\lt b),\\;b \\lt m$.

\n

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "parts": [{"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "scripts": {}, "marks": 0, "useCustomName": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "scripts": {}, "marks": "1", "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "customName": "", "precisionType": "dp", "showCorrectAnswer": true, "maxValue": "prob2", "minValue": "prob2", "precision": "2", "strictPrecision": false, "precisionPartialCredit": 0, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "correctAnswerFraction": false, "allowFractions": false, "showFeedbackIcon": true, "unitTests": [], "customMarkingAlgorithm": "", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": true}], "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "unitTests": [], "customMarkingAlgorithm": "", "type": "gapfill", "prompt": "

If one electrician is chosen at random, what is probability that this electrician earns over £{upper}? 

\n

Probability = [[0]](to 2  decimal places)

\n

", "sortAnswers": false}, {"variableReplacementStrategy": "originalfirst", "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "scripts": {}, "marks": 0, "useCustomName": false, "gaps": [{"variableReplacementStrategy": "originalfirst", "variableReplacements": [], "scripts": {}, "marks": "2", "useCustomName": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain", "customName": "", "precisionType": "dp", "showCorrectAnswer": true, "maxValue": "prob3", "minValue": "prob3", "precision": "2", "strictPrecision": false, "precisionPartialCredit": 0, "mustBeReduced": false, "mustBeReducedPC": 0, "extendBaseMarkingAlgorithm": true, "type": "numberentry", "correctAnswerFraction": false, "allowFractions": false, "showFeedbackIcon": true, "unitTests": [], "customMarkingAlgorithm": "", "precisionMessage": "You have not given your answer to the correct precision.", "showPrecisionHint": true}], "customName": "", "showCorrectAnswer": true, "showFeedbackIcon": true, "unitTests": [], "customMarkingAlgorithm": "", "type": "gapfill", "prompt": "

If one electrician is chosen at random, what is probability that this electrician earns between £{lower} and £{upper}?

\n

Probability = [[0]](to 2  decimal places)

", "sortAnswers": false}], "tags": [], "variable_groups": [], "extensions": ["stats"], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "name": "Brad's copy of nuExam08 - Normal Distribution", "ungrouped_variables": ["lower", "m", "zlower", "s"], "variables": {"s": {"definition": "1", "group": "Ungrouped variables", "name": "s", "templateType": "anything", "description": ""}, "zlower": {"definition": "precround((m-lower)/s,2)", "group": "Ungrouped variables", "name": "zlower", "templateType": "anything", "description": ""}, "m": {"definition": "random(30000..50000#2000)", "group": "Ungrouped variables", "name": "m", "templateType": "anything", "description": ""}, "lower": {"definition": "random(m-1.5*s..m-0.5s#10000)", "group": "Ungrouped variables", "name": "lower", "templateType": "anything", "description": ""}}, "advice": "

(a)

\n

Converting to $\\operatorname{N}(0,1)$

\n

$\\simplify[all,!collectNumbers]{P(X > {upper}) = P(Z > ({upper} -{m}) / {s})} = P(Z>\\var{zupper}) = 1-P(Z<\\var{zupper})=1-\\var{p1} = \\var{prob2}$ to 2 decimal places.

\n

\n

(b)

\n

$\\simplify[all,!collectNumbers]{P({lower} < X < {upper}) = P(X < {upper})-P(X < {lower})}=P(Z<\\var{zupper})-P(Z<-\\var{zlower}) =\\var{p1}-\\var{p2} = \\var{prob3}$ to 2 decimal places.

\n

\n

\n

", "preamble": {"css": "", "js": ""}, "functions": {}, "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "Brad Allison", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3394/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Michael Proudman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/269/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}, {"name": "Brad Allison", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3394/"}]}