// Numbas version: exam_results_page_options {"name": "Units: converting between centimetres and metres", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Units: converting between centimetres and metres", "tags": [], "metadata": {"description": "

\n

Converting between metres (m) and centimetres (cm). 

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

Write the following questions down on paper and evaluate them without using a calculator.

\n

If you are unsure of how to do a question, click on Show steps to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "advice": "

Write the following questions down on paper and evaluate them without using a calculator.

\n

If you are unsure of how to do a question, click on Show steps to see the full working. Then, once you understand how to do the question, click on Try another question like this one to start again.

", "rulesets": {}, "extensions": [], "variables": {"bpowerdiff": {"name": "bpowerdiff", "group": "Ungrouped variables", "definition": "P2[3]-P3[3]", "description": "
\n
\n

", "templateType": "anything"}, "ansb": {"name": "ansb", "group": "Ungrouped variables", "definition": "precround(mult[1]*10^(P2[3]-P3[3]),0)", "description": "
\n
\n

", "templateType": "anything"}, "random_order": {"name": "random_order", "group": "Ungrouped variables", "definition": "[0,1]", "description": "
\n
\n

", "templateType": "anything"}, "apowerdiff": {"name": "apowerdiff", "group": "Ungrouped variables", "definition": "P1[3]-P0[3]", "description": "
\n
\n
\n

", "templateType": "anything"}, "ansa": {"name": "ansa", "group": "Ungrouped variables", "definition": "precround(mult[0]*10^(P0[3]-P1[3]),P1[3]-P0[3]+2)", "description": "
\n
\n

", "templateType": "anything"}, "RP1": {"name": "RP1", "group": "Ungrouped variables", "definition": "[0,1]", "description": "
\n
\n

random pair 1 - designed to be increasing

", "templateType": "anything"}, "units": {"name": "units", "group": "Ungrouped variables", "definition": "[[\"m\",\"metres\"]]", "description": "
\n
\n

", "templateType": "anything"}, "P1": {"name": "P1", "group": "Ungrouped variables", "definition": "prefix[RP1[1]]", "description": "
\n
\n

", "templateType": "anything"}, "P0": {"name": "P0", "group": "Ungrouped variables", "definition": "prefix[RP1[0]]", "description": "
\n
\n

", "templateType": "anything"}, "mult": {"name": "mult", "group": "Ungrouped variables", "definition": "shuffle([random(3..191 except 100),random(0.1..2.9#0.01 except [1,2])])", "description": "
\n
\n

", "templateType": "anything"}, "RP2": {"name": "RP2", "group": "Ungrouped variables", "definition": "[1,0]", "description": "
\n
\n

random pair 2 - designed to be decreasing 

", "templateType": "anything"}, "P3": {"name": "P3", "group": "Ungrouped variables", "definition": "prefix[RP2[1]]", "description": "
\n
\n

", "templateType": "anything"}, "P2": {"name": "P2", "group": "Ungrouped variables", "definition": "prefix[RP2[0]]", "description": "
\n
\n

", "templateType": "anything"}, "prefix": {"name": "prefix", "group": "Ungrouped variables", "definition": "[[\"c\",10^(-2),\"centi\",-2],[\"\",1,\"the base unit, \",0]]", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["prefix", "units", "mult", "random_order", "RP1", "RP2", "P0", "P1", "P2", "P3", "ansa", "apowerdiff", "ansb", "bpowerdiff"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
\n

$\\var{mult[0]}\\, \\text{cm} =$ [[0]] $\\text{m}$ 

\n

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
\n

The scaling factor between {P0[2]} and {P1[2]} is  $10^\\var{apowerdiff}=\\simplify{10^{apowerdiff}}$.

\n

When converting from {P0[2]+units[0][1]} to {P1[2]+units[0][1]} the units are getting larger and so the the number will have to get smaller. That is, we will divide by $\\simplify{10^{apowerdiff}}$ to convert from {P0[2]+units[0][1]} to {P1[2]+units[0][1]}. Recall dividing by $\\simplify{10^{apowerdiff}}$ is simply moving the decimal place to the left $\\var{apowerdiff}$ places in order to make the number smaller.

\n

If this doesn't make sense to you consider a simpler example. $5$ one-dollar coins is the same amount of money as $1$ five-dollar note. As the units get bigger you need less of them to have the same amount of money. In this example the scaling factor would be $5$ since the size of the units increases by a factor of $5$ and the number of units decreases by a factor of $5$. Now, say we had $20$ one-dollar coins and we wanted to convert this to five-dollar notes, we would calculate $20\\div 5$ which equals $4$ and therefore we would get $4$ five-dollar notes. 

\n

Therefore, \\begin{align}\\var{mult[0]} \\,\\var{P0[0]}\\var{units[0][0]}&=\\left(\\var{mult[0]} \\div\\simplify{10^{P1[3]-P0[3]}} \\right)\\,\\var{P1[0]}\\var{units[0][0]}\\\\&=\\var{ansa}\\,\\var{P1[0]}\\var{units[0][0]}.\\end{align}

\n

\n

\n

"}], "gaps": [{"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, "minValue": "{ansa}", "maxValue": "{ansa}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "
\nYou have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
\n
\n

$\\var{mult[1]} \\,\\text{m} =$ [[0]] $\\text{cm}$

", "stepsPenalty": "1", "steps": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The scaling factor between {P2[2]} and {P3[2]} is  $10^\\var{bpowerdiff}=\\simplify{10^{bpowerdiff}}$. 

\n

When converting from {P2[2]+units[0][1]} to {P3[2]+units[0][1]} the units are getting smaller and so the the number will have to get bigger. That is, we will multiply by $\\simplify{10^{bpowerdiff}}$ to convert from {P2[2]+units[0][1]} to {P3[2]+units[0][1]}. Recall multiplying by $\\simplify{10^{bpowerdiff}}$ is simply moving the decimal place to the right $\\var{bpowerdiff}$ places in order to make the number larger.

\n

If this doesn't make sense to you consider a simpler example. $1$ five-dollar note is the same amount of money as $5$ one-dollar coins. As the units get smaller you need more of them to have the same amount of money. In this example the scaling factor would be $5$ since the size of the units decreases by a factor of $5$ and the number of units increases by a factor of $5$. Now, say we had $4$ five-dollar notes and we wanted to convert this to one-dollar coins, we would calculate $4\\times 5$ which equals $20$ and therefore we would get $20$ one-dollar coins. 

\n

Therefore, \\begin{align}\\var{mult[1]} \\,\\var{P2[0]}\\var{units[0][0]}&=\\left(\\var{mult[1]} \\times\\simplify{10^{bpowerdiff}} \\right)\\,\\var{P3[0]}\\var{units[0][0]}\\\\&=\\var{ansb}\\,\\var{P3[0]}\\var{units[0][0]}.\\end{align}

\n

\n

"}], "gaps": [{"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, "minValue": "{ansb}", "maxValue": "{ansb}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "4", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Adelle Colbourn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2083/"}]}