// Numbas version: exam_results_page_options {"name": "Ratios", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"scripts": {}, "variableReplacements": [], "steps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

Imagine that the $\\var{material}$ is divided into $\\var{numberone}$ + $\\var{numbertwo}$ +$\\var{numberthree}$ pieces. The first piece should be $\\var{numberone}$ times its length. The second piece should be $\\var{numbertwo}$ times this length. The third piece should be $\\var{numberthree}$ times this length.

\n

Double check: When you add up your pieces they should add to $\\var{lent}$.

", "scripts": {}, "type": "information"}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "stepsPenalty": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

A piece of $\\var{material}$ $\\var{lent}$ cm long is cut into three pieces in the ratio of $\\var{numberone}$ to $\\var{numbertwo}$ to $\\var{numberthree}$. Determine the lengths of the three pieces.

\n

[[0]]cm

\n

[[1]]cm

\n

[[2]]cm

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

Divide $\\var{total}$  into $\\var{numberone1}$  + $\\var{numbertwo1}$  + $\\var{numberfour}$ parts. Each of these parts contain $\\var{k}$.

\n

Find $k \\times \\var{numberone}$

\n

Find $k \\times \\var{numbertwo}$

\n

Find $k \\times \\var{numberfour}$

\n

To double check, add these results together. You should get $\\var{total}$.

", "scripts": {}, "type": "information"}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "stepsPenalty": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Divide $\\var{total}$ in the ratio $\\var{numberone1}$:$\\var{numbertwo1}$:$\\var{numberfour}$.

\n

[[0]]

\n

[[1]]

\n

[[2]]

", "gaps": [{"correctAnswerStyle": "plain", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{ansfour}", "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "{ansfour}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "scripts": {}, "allowFractions": false}, {"correctAnswerStyle": "plain", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{ansfive}", "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "{ansfive}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "scripts": {}, "allowFractions": false}, {"correctAnswerStyle": "plain", "type": "numberentry", "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{anssix}", "showFeedbackIcon": true, "showCorrectAnswer": true, "minValue": "{anssix}", "correctAnswerFraction": false, "variableReplacements": [], "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "mustBeReducedPC": 0, "scripts": {}, "allowFractions": false}]}, {"scripts": {}, "variableReplacements": [], "steps": [{"showCorrectAnswer": true, "showFeedbackIcon": true, "marks": 0, "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "prompt": "

Just as before, add all parts together and divide by this.

", "scripts": {}, "type": "information"}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "marks": 0, "stepsPenalty": 0, "showFeedbackIcon": true, "showCorrectAnswer": true, "prompt": "

Divide €$\\var{money}$ in the ratio $\\var{ratioab[0]}:\\var{ratioab[1]}:\\var{ratioc}$

\n

(Calculate to 2 decimal place!!)

\n

€[[0]] : €[[1]] : €[[2]]

", "gaps": [{"correctAnswerStyle": "plain", "type": "numberentry", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{ans31}", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "correctAnswerFraction": false, "minValue": "{ans31}", "mustBeReduced": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "precisionType": "dp", "precisionPartialCredit": 0, "showFeedbackIcon": true, "scripts": {}, "mustBeReducedPC": 0, "strictPrecision": false, "precision": "2"}, {"correctAnswerStyle": "plain", "type": "numberentry", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{ans32}", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "correctAnswerFraction": false, "minValue": "{ans32}", "mustBeReduced": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "precisionType": "dp", "precisionPartialCredit": 0, "showFeedbackIcon": true, "scripts": {}, "mustBeReducedPC": 0, "strictPrecision": false, "precision": "2"}, {"correctAnswerStyle": "plain", "type": "numberentry", "allowFractions": false, "variableReplacementStrategy": "originalfirst", "marks": 1, "maxValue": "{ans33}", "variableReplacements": [], "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "correctAnswerFraction": false, "minValue": "{ans33}", "mustBeReduced": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "precisionType": "dp", "precisionPartialCredit": 0, "showFeedbackIcon": true, "scripts": {}, "mustBeReducedPC": 0, "strictPrecision": false, "precision": "2"}]}], "variables": {"ansfour": {"group": "Ungrouped variables", "name": "ansfour", "templateType": "anything", "description": "", "definition": "k*{numberone1}"}, "numbertwo": {"group": "Ungrouped variables", "name": "numbertwo", "templateType": "anything", "description": "", "definition": "random(2..7 except {numberone})"}, "ratioc": {"group": "Ungrouped variables", "name": "ratioc", "templateType": "anything", "description": "", "definition": "10 - (ratioab[0] + ratioab[1])"}, "ratio": {"group": "Ungrouped variables", "name": "ratio", "templateType": "anything", "description": "", "definition": "{lent}/summ"}, "ans32": {"group": "Ungrouped variables", "name": "ans32", "templateType": "anything", "description": "", "definition": "({money}/10)*ratioab[1]"}, "numberfour": {"group": "Ungrouped variables", "name": "numberfour", "templateType": "anything", "description": "", "definition": "random(2..7 except {numberone1} except {numbertwo1})"}, "ratioab": {"group": "Ungrouped variables", "name": "ratioab", "templateType": "anything", "description": "", "definition": "shuffle(2.1..4.4#0.1)[0..2]"}, "ans31": {"group": "Ungrouped variables", "name": "ans31", "templateType": "anything", "description": "", "definition": "({money}/10)*ratioab[0]"}, "numbertwo1": {"group": "Ungrouped variables", "name": "numbertwo1", "templateType": "anything", "description": "", "definition": "random(2..7 except {numberone1})"}, "numberone1": {"group": "Ungrouped variables", "name": "numberone1", "templateType": "anything", "description": "", "definition": "random(2..9)"}, "ansthree": {"group": "Ungrouped variables", "name": "ansthree", "templateType": "anything", "description": "", "definition": "{ratio}*{numberthree}"}, "ansone": {"group": "Ungrouped variables", "name": "ansone", "templateType": "anything", "description": "", "definition": "{ratio}*{numberone}"}, "material": {"group": "Ungrouped variables", "name": "material", "templateType": "anything", "description": "", "definition": "random('wood','timber','glass','metal','plastic')"}, "anstwo": {"group": "Ungrouped variables", "name": "anstwo", "templateType": "anything", "description": "", "definition": "{ratio}*{numbertwo}"}, "numberthree": {"group": "Ungrouped variables", "name": "numberthree", "templateType": "anything", "description": "", "definition": "20-({numberone} + {numbertwo})"}, "money": {"group": "Ungrouped variables", "name": "money", "templateType": "anything", "description": "", "definition": "random(7050..9050#100)"}, "numberone": {"group": "Ungrouped variables", "name": "numberone", "templateType": "anything", "description": "", "definition": "random(2..9)"}, "ansfive": {"group": "Ungrouped variables", "name": "ansfive", "templateType": "anything", "description": "", "definition": "k*{numbertwo1}"}, "anssix": {"group": "Ungrouped variables", "name": "anssix", "templateType": "anything", "description": "", "definition": "k*{numberfour}"}, "ans33": {"group": "Ungrouped variables", "name": "ans33", "templateType": "anything", "description": "", "definition": "({money}/10)*{ratioc}"}, "summ": {"group": "Ungrouped variables", "name": "summ", "templateType": "anything", "description": "", "definition": "{numberone}+{numbertwo}+{numberthree}"}, "lent": {"group": "Ungrouped variables", "name": "lent", "templateType": "anything", "description": "", "definition": "random(140..400#20)"}, "k": {"group": "Ungrouped variables", "name": "k", "templateType": "anything", "description": "", "definition": "random(61..68)"}, "total": {"group": "Ungrouped variables", "name": "total", "templateType": "anything", "description": "", "definition": "({numberone1}+{numbertwo1}+{numberfour})*k"}}, "functions": {}, "tags": [], "ungrouped_variables": ["material", "numberone", "numbertwo", "numberthree", "ansone", "ratio", "anstwo", "ansthree", "lent", "summ", "numberfour", "total", "ansfour", "ansfive", "anssix", "money", "ratioab", "ratioc", "ans31", "ans32", "ans33", "numberone1", "numbertwo1", "k"], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Ratio Questions

"}, "extensions": [], "statement": "

Solve the following to the nearest whole number:

", "rulesets": {}, "preamble": {"js": "", "css": ""}, "advice": "

Part 1:

\n

Add the ratio numbers and then divide the length by the summed total

\n

$\\frac{\\var{lent}}{\\var{summ}}$

\n

Then multiply each peice by the ratio length

\n

$\\var{numberone} \\times \\var{ratio}$

\n

$\\var{numbertwo} \\times \\var{ratio}$

\n

$\\var{numberthree} \\times \\var{ratio}$

\n

\n

Part 2:

\n

Use the same method as in part 1

\n

$\\frac{\\var{total}}{(\\var{numberone1}+\\var{numbertwo1}+\\var{numberfour})}$

\n

$\\var{numberone} \\times \\var{k}$

\n

$\\var{numbertwo} \\times \\var{k}$

\n

$\\var{numberfour} \\times \\var{k}$

\n

\n

Part 4:

\n

$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})}) \\times \\var{ratioab[0]} = \\var{ans31}$

\n

$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})}) \\times \\var{ratioab[1]} = \\var{ans32}$

\n

$(\\frac{\\var{money}}{(\\var{ratioab[0]} + \\var{ratioab[1]} + \\var{ratioc})})  \\times \\var{ratioc} = \\var{ans33}$

", "name": "Ratios", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "type": "question", "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}]}], "contributors": [{"name": "Rachel Staddon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/901/"}]}