// Numbas version: exam_results_page_options {"name": "Units: converting between different prefixes 1D (nano to giga)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Units: converting between different prefixes 1D (nano to giga)", "tags": [], "metadata": {"description": "

Converting between giga, mega, kilo, base, milli and micro, nano. Metres, grams and litres.

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

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": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"random_order": {"name": "random_order", "group": "Ungrouped variables", "definition": "shuffle(0..len(prefix)-1)", "description": "", "templateType": "anything", "can_override": false}, "apowerdiff": {"name": "apowerdiff", "group": "Ungrouped variables", "definition": "P1[3]-P0[3]", "description": "", "templateType": "anything", "can_override": false}, "ansa": {"name": "ansa", "group": "Ungrouped variables", "definition": "precround(mult[0]*10^(P0[3]-P1[3]),P1[3]-P0[3]+2)", "description": "", "templateType": "anything", "can_override": false}, "units": {"name": "units", "group": "Ungrouped variables", "definition": "shuffle([[\"L\",\"litres\"],[\"m\",\"metres\"],[\"g\",\"grams\"]])[0..2]", "description": "", "templateType": "anything", "can_override": false}, "P2": {"name": "P2", "group": "Ungrouped variables", "definition": "prefix[RP2[0]]", "description": "", "templateType": "anything", "can_override": false}, "P3": {"name": "P3", "group": "Ungrouped variables", "definition": "prefix[RP2[1]]", "description": "", "templateType": "anything", "can_override": false}, "RP1": {"name": "RP1", "group": "Ungrouped variables", "definition": "sort(random_order[0..2])", "description": "

random pair 1 - designed to be increasing

", "templateType": "anything", "can_override": false}, "ansb": {"name": "ansb", "group": "Ungrouped variables", "definition": "precround(mult[1]*10^(P2[3]-P3[3]),0)", "description": "", "templateType": "anything", "can_override": false}, "P1": {"name": "P1", "group": "Ungrouped variables", "definition": "prefix[RP1[1]]", "description": "", "templateType": "anything", "can_override": false}, "prefix": {"name": "prefix", "group": "Ungrouped variables", "definition": "[[\"n\",10^(-9),\"nano\",-9],[\"mc\",10^(-6),\"micro\",-6],[\"m\",10^(-3),\"milli\",-3],[\"\",1,\"the base unit, \",0],[\"k\",10^3,\"kilo\",3],[\"M\",10^6,\"mega\",6],[\"G\",10^9,\"giga\",9]]", "description": "", "templateType": "anything", "can_override": false}, "mult": {"name": "mult", "group": "Ungrouped variables", "definition": "shuffle([random(3..191),random(0.1..2.9#0.01 except [1,2])])", "description": "", "templateType": "anything", "can_override": false}, "thousandsa": {"name": "thousandsa", "group": "Ungrouped variables", "definition": "abs(P0[3]-P1[3])/3", "description": "", "templateType": "anything", "can_override": false}, "RP2": {"name": "RP2", "group": "Ungrouped variables", "definition": "if(random_order[2]>random_order[3],random_order[2..4],[random_order[3],random_order[2]])", "description": "

random pair 2 - designed to be decreasing 

", "templateType": "anything", "can_override": false}, "bpowerdiff": {"name": "bpowerdiff", "group": "Ungrouped variables", "definition": "P2[3]-P3[3]", "description": "", "templateType": "anything", "can_override": false}, "P0": {"name": "P0", "group": "Ungrouped variables", "definition": "prefix[RP1[0]]", "description": "", "templateType": "anything", "can_override": false}, "thousandsb": {"name": "thousandsb", "group": "Ungrouped variables", "definition": "(P2[3]-P3[3])/3", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["prefix", "units", "mult", "random_order", "RP1", "RP2", "P0", "P1", "P2", "P3", "ansa", "apowerdiff", "ansb", "bpowerdiff", "thousandsa", "thousandsb"], "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": "

$\\var{mult[0]}\\, \\var{P0[0]}\\var{units[0][0]} =$ [[0]] $\\var{P1[0]}\\var{units[0][0]}$ 

\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": "

The following are some of the common SI prefixes used listed in descending order. The scaling factor between each adjacent prefix is $10^3=1000$. 

\n

giga
mega
kilo
base unit
milli
micro
nano

\n

\n

The scaling factor between {P0[2]} and {P1[2]} is therefore

\n

$(1000)^\\var{thousandsa}=$$10^\\var{apowerdiff}=\\simplify{10^{apowerdiff}}$.

\n

\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

\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

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

\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, "displayAnswer": "", "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}, {"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": "

$\\var{mult[1]}\\, \\var{P2[0]}\\var{units[1][0]} =$ [[0]] $\\var{P3[0]}\\var{units[1][0]}$

", "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 following are some of the common SI prefixes used list in decending order. The scaling factor between each adjacent prefix is $10^3=1000$. 

\n

giga
mega
kilo
base unit
milli
micro
nano

\n

\n

The scaling factor between {P2[2]} and {P3[2]} is  therefore

\n

$(10^3)^\\var{thousandsb}=$$10^\\var{bpowerdiff}=\\simplify{10^{bpowerdiff}}$.

\n

When converting from {P2[2]+units[1][1]} to {P3[2]+units[1][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[1][1]} to {P3[2]+units[1][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

\n

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

\n

\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

"}], "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, "displayAnswer": "", "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/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}]}