// Numbas version: exam_results_page_options {"name": "Julie's copy of Probability independent", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"advice": "

(a) P({thing[0]})xP({thing[1]})={x}x{y}={a1}

\n

Next round to 2 decimal places to get {a1d}

\n

(b) P(not - {thing[0]})xP(not - {thing[1]})$=(1-\\var{x})\\times (1-\\var{y})=\\var{a2}$

\n

Next round to 2 decimal places to get {a2d}

\n

(c) 1- (answer to part (b))=1-{a2d}={a3d}

\n

(d) ( (1-{x})x {y})+( (1-{y})x {x})={a4}

\n

Next round to 2 decimal places to get {a4d}

\n

", "functions": {}, "parts": [{"mustBeReducedPC": 0, "type": "numberentry", "correctAnswerStyle": "plain", "precisionType": "dp", "showCorrectAnswer": true, "marks": "1", "variableReplacements": [], "allowFractions": false, "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "{x}*{y}", "notationStyles": ["plain", "en", "si-en"], "prompt": "

What is the probabilty that both of these events occur?

", "precision": "2", "strictPrecision": false, "showFeedbackIcon": true, "minValue": "{x}*{y}", "correctAnswerFraction": false, "mustBeReduced": false, "scripts": {}, "precisionPartialCredit": "0", "variableReplacementStrategy": "originalfirst"}, {"mustBeReducedPC": 0, "type": "numberentry", "correctAnswerStyle": "plain", "precisionType": "dp", "showCorrectAnswer": true, "marks": "1", "variableReplacements": [], "allowFractions": false, "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "(1-{x})*(1-{y})", "notationStyles": ["plain", "en", "si-en"], "prompt": "

What is the probabilty that neither of these events occur?

", "precision": "2", "strictPrecision": false, "showFeedbackIcon": true, "minValue": "(1-{x})*(1-{y})", "correctAnswerFraction": false, "mustBeReduced": false, "scripts": {}, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst"}, {"mustBeReducedPC": 0, "type": "numberentry", "correctAnswerStyle": "plain", "precisionType": "dp", "showCorrectAnswer": true, "marks": "1", "variableReplacements": [], "allowFractions": false, "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "1-(1-{x})*(1-{y})", "notationStyles": ["plain", "en", "si-en"], "prompt": "

What is the probabilty that at least one of these two events will occur?

", "precision": "2", "strictPrecision": false, "showFeedbackIcon": true, "minValue": "1-(1-{x})*(1-{y})", "correctAnswerFraction": false, "mustBeReduced": false, "scripts": {}, "precisionPartialCredit": "0", "variableReplacementStrategy": "originalfirst"}, {"mustBeReducedPC": 0, "type": "numberentry", "correctAnswerStyle": "plain", "precisionType": "dp", "showCorrectAnswer": true, "marks": "1", "variableReplacements": [], "allowFractions": false, "showPrecisionHint": false, "precisionMessage": "You have not given your answer to the correct precision.", "maxValue": "(1-{x})*{y}+(1-{y})*{x}", "notationStyles": ["plain", "en", "si-en"], "prompt": "

What is the probabilty that only one of the two events occur?

", "precision": "2", "strictPrecision": false, "showFeedbackIcon": true, "minValue": "(1-{x})*{y}+(1-{y})*{x}", "correctAnswerFraction": false, "mustBeReduced": false, "scripts": {}, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst"}], "name": "Julie's copy of Probability independent", "variables": {"a4d": {"name": "a4d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "precround((1-x)*y+(1-y)*x,2)"}, "a4": {"name": "a4", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "(1-x)*y+(1-y)*x"}, "thing": {"name": "thing", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "random(['there will be a change in government in Ireland next year ', 'Ireland will win the rugby world cup next year'],['it will rain in Qumar on any given day','it will rain in Timbucktoo on any given day'],['shares in the Bank of Lapland will rise on any given day','shares in the Bank of Never Never Land will rise on any given day'])"}, "a1d": {"name": "a1d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "precround(x*y,2)"}, "a2d": {"name": "a2d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "precround((1-x)*(1-y),2)"}, "a2": {"name": "a2", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "(1-x)*(1-y)"}, "a3": {"name": "a3", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "1-a2"}, "y": {"name": "y", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(0.1..0.9#0.01)"}, "a3d": {"name": "a3d", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "precround(1-a2,2)"}, "a1": {"name": "a1", "description": "", "group": "Ungrouped variables", "templateType": "anything", "definition": "x*y"}, "x": {"name": "x", "description": "", "group": "Ungrouped variables", "templateType": "randrange", "definition": "random(0.1..0.9#0.01)"}}, "statement": "

The probability that {thing[0]} is {x}, while the probability that {thing[1]} is {y}. Assume that these two events are independent. Give all answers correct to two decimal places.

", "variablesTest": {"maxRuns": 100, "condition": ""}, "metadata": {"description": "

rebelmaths

", "licence": "Creative Commons Attribution 4.0 International"}, "ungrouped_variables": ["y", "thing", "x", "a1d", "a2", "a3", "a4", "a1", "a2d", "a3d", "a4d"], "preamble": {"css": "", "js": ""}, "variable_groups": [], "tags": [], "extensions": [], "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/"}]}