// Numbas version: exam_results_page_options {"name": "Ratios L1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"rulesets": {}, "preamble": {"css": "", "js": ""}, "parts": [{"type": "gapfill", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0, "scripts": {}, "marks": 0, "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": [{"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ansone}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ansone}", "precision": "2", "variableReplacements": [], "scripts": {}}, {"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{anstwo}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{anstwo}", "precision": "2", "variableReplacements": [], "scripts": {}}, {"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ansthree}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ansthree}", "precision": "2", "variableReplacements": [], "scripts": {}}], "variableReplacements": [], "steps": [{"type": "information", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "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}$.

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

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

\n

[[0]]

\n

[[1]]

\n

[[2]]

", "gaps": [{"showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ansfour}", "showCorrectAnswer": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ansfour}", "variableReplacements": [], "scripts": {}}, {"showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ansfive}", "showCorrectAnswer": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ansfive}", "variableReplacements": [], "scripts": {}}, {"showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{anssix}", "showCorrectAnswer": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{anssix}", "variableReplacements": [], "scripts": {}}], "variableReplacements": [], "steps": [{"type": "information", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "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}$.

", "variableReplacements": []}]}, {"type": "gapfill", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "stepsPenalty": 0, "scripts": {}, "marks": 0, "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": [{"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ans31}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ans31}", "precision": "2", "variableReplacements": [], "scripts": {}}, {"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ans32}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ans32}", "precision": "2", "variableReplacements": [], "scripts": {}}, {"strictPrecision": false, "showFeedbackIcon": true, "correctAnswerStyle": "plain", "maxValue": "{ans33}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "precisionMessage": "You have not given your answer to the correct precision.", "mustBeReducedPC": 0, "precisionPartialCredit": 0, "variableReplacementStrategy": "originalfirst", "precisionType": "dp", "type": "numberentry", "showPrecisionHint": false, "mustBeReduced": false, "correctAnswerFraction": false, "marks": 1, "allowFractions": false, "minValue": "{ans33}", "precision": "2", "variableReplacements": [], "scripts": {}}], "variableReplacements": [], "steps": [{"type": "information", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "scripts": {}, "marks": 0, "showCorrectAnswer": true, "prompt": "

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

", "variableReplacements": []}]}], "metadata": {"description": "

Ratio Questions

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "extensions": [], "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"], "variables": {"ansfive": {"description": "", "definition": "k*{numbertwo1}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfive"}, "ansthree": {"description": "", "definition": "{ratio}*{numberthree}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansthree"}, "numberone1": {"description": "", "definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone1"}, "ans32": {"description": "", "definition": "({money}/10)*ratioab[1]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans32"}, "ratioab": {"description": "", "definition": "shuffle(2.1..4.4#0.1)[0..2]", "templateType": "anything", "group": "Ungrouped variables", "name": "ratioab"}, "anstwo": {"description": "", "definition": "{ratio}*{numbertwo}", "templateType": "anything", "group": "Ungrouped variables", "name": "anstwo"}, "ratio": {"description": "", "definition": "{lent}/summ", "templateType": "anything", "group": "Ungrouped variables", "name": "ratio"}, "anssix": {"description": "", "definition": "k*{numberfour}", "templateType": "anything", "group": "Ungrouped variables", "name": "anssix"}, "numbertwo1": {"description": "", "definition": "random(2..7 except {numberone1})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo1"}, "ansfour": {"description": "", "definition": "k*{numberone1}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansfour"}, "ratioc": {"description": "", "definition": "10 - (ratioab[0] + ratioab[1])", "templateType": "anything", "group": "Ungrouped variables", "name": "ratioc"}, "material": {"description": "", "definition": "random('wood','timber','glass','metal','plastic')", "templateType": "anything", "group": "Ungrouped variables", "name": "material"}, "k": {"description": "", "definition": "random(61..68)", "templateType": "anything", "group": "Ungrouped variables", "name": "k"}, "numberfour": {"description": "", "definition": "random(2..7 except {numberone1} except {numbertwo1})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberfour"}, "numbertwo": {"description": "", "definition": "random(2..7 except {numberone})", "templateType": "anything", "group": "Ungrouped variables", "name": "numbertwo"}, "ans31": {"description": "", "definition": "({money}/10)*ratioab[0]", "templateType": "anything", "group": "Ungrouped variables", "name": "ans31"}, "money": {"description": "", "definition": "random(7050..9050#100)", "templateType": "anything", "group": "Ungrouped variables", "name": "money"}, "numberthree": {"description": "", "definition": "20-({numberone} + {numbertwo})", "templateType": "anything", "group": "Ungrouped variables", "name": "numberthree"}, "ansone": {"description": "", "definition": "{ratio}*{numberone}", "templateType": "anything", "group": "Ungrouped variables", "name": "ansone"}, "summ": {"description": "", "definition": "{numberone}+{numbertwo}+{numberthree}", "templateType": "anything", "group": "Ungrouped variables", "name": "summ"}, "ans33": {"description": "", "definition": "({money}/10)*{ratioc}", "templateType": "anything", "group": "Ungrouped variables", "name": "ans33"}, "lent": {"description": "", "definition": "random(140..400#20)", "templateType": "anything", "group": "Ungrouped variables", "name": "lent"}, "numberone": {"description": "", "definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "numberone"}, "total": {"description": "", "definition": "({numberone1}+{numbertwo1}+{numberfour})*k", "templateType": "anything", "group": "Ungrouped variables", "name": "total"}}, "functions": {}, "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}$

", "tags": [], "name": "Ratios L1", "statement": "

Solve the following to the nearest whole number:

", "type": "question", "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}]}], "contributors": [{"name": "steve kilgallon", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/268/"}]}