// Numbas version: finer_feedback_settings {"name": "Addition and subtraction of numbers in standard form", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "variable_groups": [], "name": "Addition and subtraction of numbers in standard form", "functions": {}, "rulesets": {}, "ungrouped_variables": ["B"], "metadata": {"description": "

Add two numbers in standard form, then subtract two numbers in standard form.

", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "advice": "

The easiest way to do this is to convert these numbers in standard form into decimals, do the calculation with decimal forms, then change them back into standard form.

\n

a)

\n

\\[\\begin{align} \\var{B[0]} \\times 10^3 + \\var{B[1]} \\times 10^4 &= \\var{B[0]*10^3} + \\var{B[1]*10^4} \\\\&= \\var{B[0]*10^3 + B[1]*10^4} \\\\&= \\var{(B[0]*10^3 + B[1]*10^4)/10^4} \\times 10^4\\end{align}\\]

\n

 

\n

b)

\n

\\[\\begin{align} \\var{B[2]} \\times 10^3 - \\var{B[2] - 1.70} \\times 10^2 &= \\var{B[2]*10^3} - \\var{(B[2] - 1.70)*10^2} \\\\&= \\var{(B[2]*10^3) - ((B[2] - 1.70)*10^2)} \\\\&= \\var{(B[2]*10^3 - (B[2] - 1.70)*10^2)/10^3} \\times 10^3\\end{align}\\]

", "statement": "

Calculate the following and write the result in standard index form (for example, for $2.01\\times 10^5$ we would write 2.01*10^5 in the gap).

", "preamble": {"css": "", "js": ""}, "variables": {"B": {"templateType": "anything", "description": "", "name": "B", "group": "Ungrouped variables", "definition": "repeat(random(3..9 #0.01), 3)"}}, "parts": [{"variableReplacementStrategy": "originalfirst", "prompt": "

$\\var{B[0]} \\times 10^3 + \\var{B[1]} \\times 10^4 =$  [[0]]

\n

\n

", "gaps": [{"variableReplacementStrategy": "originalfirst", "answer": "{(B[0]*10^3 + B[1]*10^4)/10^4}*10^4", "answersimplification": "!collectnumbers", "vsetrangepoints": 5, "notallowed": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["10^-4", "10^(-4)", "+", "-"]}, "checkingtype": "absdiff", "type": "jme", "showpreview": true, "checkvariablenames": false, "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "expectedvariablenames": [], "showFeedbackIcon": true, "musthave": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["*10^4"]}, "marks": 1, "showCorrectAnswer": true, "scripts": {}}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "showCorrectAnswer": true}, {"variableReplacementStrategy": "originalfirst", "prompt": "

$\\var{B[2]} \\times 10^3 - \\var{B[2] - 1.70} \\times 10^2 =$  [[0]]

\n

\n

\n

", "gaps": [{"variableReplacementStrategy": "originalfirst", "answer": "{(B[2]*10^3 - (B[2] - 1.70)*10^2)/10^3}*10^3", "answersimplification": "!collectnumbers", "vsetrangepoints": 5, "notallowed": {"message": "

+

\n

", "showStrings": false, "partialCredit": 0, "strings": ["*10^-3", "*10^(-3)", "+", "-"]}, "checkingtype": "absdiff", "type": "jme", "showpreview": true, "checkvariablenames": false, "checkingaccuracy": 0.001, "vsetrange": [0, 1], "variableReplacements": [], "expectedvariablenames": [], "showFeedbackIcon": true, "musthave": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["*10^3"]}, "marks": 1, "showCorrectAnswer": true, "scripts": {}}], "variableReplacements": [], "showFeedbackIcon": true, "scripts": {}, "type": "gapfill", "marks": 0, "showCorrectAnswer": true}], "tags": ["addition", "Addition", "conversion", "converting", "standard form", "standard index form", "subtraction", "taxonomy"], "variablesTest": {"maxRuns": 100, "condition": ""}, "contributors": [{"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}]}]}], "contributors": [{"name": "Stanislav Duris", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1590/"}]}