// Numbas version: exam_results_page_options {"name": "Johan's 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": [{"name": "Johan's copy of Scientific notation: small numbers to scientific notation", "statement": "

Write the following numbers in scientific notation.

", "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 :(

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": ""}, "showQuestionGroupNames": false, "variables": {"pow1": {"definition": "random(-1..-6)", "name": "pow1", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "dec1": {"definition": "random(1.1..9.9#0.01)", "name": "dec1", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "q2": {"definition": "precround(dec2*10^pow2,14)", "name": "q2", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "pow2": {"definition": "random(list(-6..-1) except pow1)", "name": "pow2", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "q1": {"definition": "precround(dec1*10^pow1,14)", "name": "q1", "group": "Ungrouped variables", "templateType": "anything", "description": ""}, "dec2": {"definition": "random(1.1..9.9#0.001)", "name": "dec2", "group": "Ungrouped variables", "templateType": "anything", "description": ""}}, "type": "question", "variable_groups": [], "advice": "", "functions": {}, "tags": ["converting", "scientific notation", "standard form"], "rulesets": {}, "ungrouped_variables": ["dec1", "pow1", "q1", "dec2", "pow2", "q2"], "variablesTest": {"maxRuns": 100, "condition": ""}, "question_groups": [{"name": "", "questions": [], "pickingStrategy": "all-ordered", "pickQuestions": 0}], "parts": [{"marks": 0, "scripts": {}, "prompt": "

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

", "variableReplacements": [], "gaps": [{"minValue": "{dec1}", "allowFractions": false, "variableReplacements": [], "scripts": {}, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "maxValue": "{dec1}", "showCorrectAnswer": false}, {"minValue": "{pow1}", "allowFractions": false, "variableReplacements": [], "scripts": {}, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "maxValue": "{pow1}", "showCorrectAnswer": false}], "stepsPenalty": "1", "steps": [{"marks": 0, "scripts": {}, "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", "type": "information", "showCorrectAnswer": true}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}, {"marks": 0, "scripts": {}, "prompt": "

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

", "variableReplacements": [], "gaps": [{"minValue": "{dec2}", "allowFractions": false, "variableReplacements": [], "scripts": {}, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "maxValue": "{dec2}", "showCorrectAnswer": false}, {"minValue": "{pow2}", "allowFractions": false, "variableReplacements": [], "scripts": {}, "correctAnswerFraction": false, "marks": 1, "type": "numberentry", "variableReplacementStrategy": "originalfirst", "showPrecisionHint": false, "maxValue": "{pow2}", "showCorrectAnswer": false}], "stepsPenalty": "1", "steps": [{"marks": 0, "scripts": {}, "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", "type": "information", "showCorrectAnswer": true}], "type": "gapfill", "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true}], "preamble": {"js": "", "css": ""}, "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}]}], "contributors": [{"name": "Johan Maertens", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1301/"}]}