// Numbas version: exam_results_page_options {"name": "Hannah's copy of copy of Scientific notation: small numbers to scientific notation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2"], "name": "Hannah's copy of copy of Scientific notation: small numbers to scientific notation", "tags": ["converting", "scientific notation", "standard form"], "advice": "", "rulesets": {}, "parts": [{"stepsPenalty": "1", "prompt": "

$\\var{q1}$ = [[0]]$\\times 10$ [[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{dec1}", "minValue": "{dec1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{pow1}", "minValue": "{pow1}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

A number is in scientific notation if it is written as a decimal multiplied by some power of 10, where the decimal has exactly one digit in front of the decimal place. For example:

\n

\\[1.234\\times 10^6, \\quad \\text{and} \\quad 3.01\\times 10^{-3}\\] 

\n

are both in scientific notation.

\n
\n

Suppose we have the number $0.00023$. In scientific notation, this number would start with $2.3$ since we only want one digit in front of the decimal point. So the decimal point was here $0.00023$ and needs to move to between the $2$ and the $3$ here $2.3$. Count the places that the decimal point must jump between and you get $4$ places. That is,

\n

\n

\\[0.00023=2.3\\times 10^{-4}\\]

\n

\n

We have a negative four as the power because we need to make the number $2.3$ smaller to get to $0.00023$

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

$\\var{q2}$ = [[0]]$\\times 10$ [[1]]

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"allowFractions": false, "variableReplacements": [], "maxValue": "{dec2}", "minValue": "{dec2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"allowFractions": false, "variableReplacements": [], "maxValue": "{pow2}", "minValue": "{pow2}", "variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "showCorrectAnswer": false, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "steps": [{"prompt": "

A number is in scientific notation if it is written as a decimal multiplied by some power of 10, where the decimal has exactly one digit in front of the decimal place. For example:

\n

\\[1.234\\times 10^6, \\quad \\text{and} \\quad 3.01\\times 10^{-3}\\] 

\n

are both in scientific notation.

\n
\n

Suppose we have the number $0.00023$. In scientific notation, this number would start with $2.3$ since we only want one digit in front of the decimal point. So the decimal point was here $0.00023$ and needs to move to between the $2$ and the $3$ here $2.3$. Count the places that the decimal point must jump between and you get $4$ places. That is,

\n

\n

\\[0.00023=2.3\\times 10^{-4}\\]

\n

\n

We have a negative four as the power because we need to make the number $2.3$ smaller to get to $0.00023$

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "scripts": {}, "marks": 0, "showCorrectAnswer": true, "type": "gapfill"}], "statement": "

Write the following numbers in scientific notation.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"q1": {"definition": "precround(dec1*10^pow1,14)", "templateType": "anything", "group": "Ungrouped variables", "name": "q1", "description": ""}, "q2": {"definition": "precround(dec2*10^pow2,14)", "templateType": "anything", "group": "Ungrouped variables", "name": "q2", "description": ""}, "pow2": {"definition": "random(list(-6..-1) except pow1)", "templateType": "anything", "group": "Ungrouped variables", "name": "pow2", "description": ""}, "pow1": {"definition": "random(-1..-6)", "templateType": "anything", "group": "Ungrouped variables", "name": "pow1", "description": ""}, "dec1": {"definition": "random(1.1..9.9#0.01)", "templateType": "anything", "group": "Ungrouped variables", "name": "dec1", "description": ""}, "dec2": {"definition": "random(1.1..9.9#0.001)", "templateType": "anything", "group": "Ungrouped variables", "name": "dec2", "description": ""}}, "metadata": {"notes": "

I tried to make a function that put a space between every third decimal place but I couldn't figure out how to do it :(

", "description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}]}], "contributors": [{"name": "Hannah Bartholomew", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/530/"}]}