// Numbas version: exam_results_page_options {"name": "Indices: adding powers (non-algebraic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Indices: adding powers (non-algebraic)", "tags": ["adding", "exponent", "exponents", "index", "index laws", "Index Laws", "indices", "multiplying", "power", "powers"], "metadata": {"description": "", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Simplify the following without the use of a calculator. Write your answer in index form using ^ to signify powers.

", "advice": "", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"sumpow1": {"name": "sumpow1", "group": "Ungrouped variables", "definition": "powers1[0][0]+powers1[1][0]+powers1[2][0]", "description": "", "templateType": "anything", "can_override": false}, "sumpow2": {"name": "sumpow2", "group": "Ungrouped variables", "definition": "wild[0]+1", "description": "", "templateType": "anything", "can_override": false}, "sumpow3": {"name": "sumpow3", "group": "Ungrouped variables", "definition": "dec+neg+num/den", "description": "", "templateType": "anything", "can_override": false}, "sumpow4": {"name": "sumpow4", "group": "Ungrouped variables", "definition": "powers3[0][0]+powers3[1][0]", "description": "", "templateType": "anything", "can_override": false}, "neg": {"name": "neg", "group": "Ungrouped variables", "definition": "random(-12..-1)", "description": "", "templateType": "anything", "can_override": false}, "base1": {"name": "base1", "group": "Ungrouped variables", "definition": "primes[0]", "description": "", "templateType": "anything", "can_override": false}, "base2": {"name": "base2", "group": "Ungrouped variables", "definition": "primes[1]", "description": "", "templateType": "anything", "can_override": false}, "num": {"name": "num", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "den": {"name": "den", "group": "Ungrouped variables", "definition": "random([10,20,25])", "description": "", "templateType": "anything", "can_override": false}, "wild": {"name": "wild", "group": "Ungrouped variables", "definition": "random([[2,\"two\"],[3,\"three\"],[4,\"four\"],[5,\"five\"],[6,\"six\"]])", "description": "", "templateType": "anything", "can_override": false}, "powers3": {"name": "powers3", "group": "Ungrouped variables", "definition": "shuffle([[2,\"two\"],[3,\"three\"],[4,\"four\"],[5,\"five\"],[6,\"six\"]])[0..2]", "description": "", "templateType": "anything", "can_override": false}, "dec": {"name": "dec", "group": "Ungrouped variables", "definition": "random(0.1..0.9#0.1)", "description": "", "templateType": "anything", "can_override": false}, "powers1": {"name": "powers1", "group": "Ungrouped variables", "definition": "shuffle([[2,\"two\"],[3,\"three\"],[4,\"four\"],[5,\"five\"],[6,\"six\"]])[0..3]", "description": "

2..6

", "templateType": "anything", "can_override": false}, "primes": {"name": "primes", "group": "Ungrouped variables", "definition": "shuffle([2,3,5,7,11,13,17,19])[0..3] ", "description": "", "templateType": "anything", "can_override": false}, "powers2": {"name": "powers2", "group": "Ungrouped variables", "definition": "shuffle([[0,\"zero\"],[1,\"one\"],wild])", "description": "", "templateType": "anything", "can_override": false}, "base3": {"name": "base3", "group": "Ungrouped variables", "definition": "primes[2]", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "\n", "maxRuns": 100}, "ungrouped_variables": ["base1", "powers1", "base2", "wild", "powers2", "sumpow1", "sumpow2", "dec", "neg", "num", "den", "sumpow3", "base3", "powers3", "sumpow4", "primes"], "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{base1}^\\var{powers1[0][0]}\\times \\var{base1}^\\var{powers1[1][0]} \\times \\var{base1}^\\var{powers1[2][0]}$ = [[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": "

Recall:

\n\n

So in total how many $\\var{base1}$s are there multiplied together? 

\n

Well, $\\var{powers1[0][0]}+\\var{powers1[1][0]}+\\var{powers1[2][0]}=\\var{sumpow1}$. And so our answer is $\\var{base1}^\\var{sumpow1}$.

\n

\n
\n

\nNote, in general $a^ba^c=a^{b+c}$."}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{base1}^{sumpow1}", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["^"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "notallowed": {"strings": ["^0"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "mustmatchpattern": {"pattern": "?^?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "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{base2}^\\var{powers2[0][0]}\\times \\var{base2}^\\var{powers2[1][0]} \\times \\var{base2}^\\var{powers2[2][0]}$ = [[0]]

\n

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

Recall:

\n\n

So in total how many $\\var{base2}$s are there multiplied together? 

\n

Well, $0+1+\\var{wild[0]}=\\var{sumpow2}$. And so our answer is $\\var{base2}^\\var{sumpow2}$.

\n

\n
\n

Note, in general $a^ba^c=a^{b+c}$, $a^0=1$ and $a^1=a$.

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{base2}^{sumpow2}", "answerSimplification": "!otherNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["^"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "notallowed": {"strings": ["^0"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "mustmatchpattern": {"pattern": "?^?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "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": "

Use the same approach you used in the above questions to simplify the following in index form.

\n


$\\displaystyle\\var{base2}^\\var{dec}\\times \\var{base2}^\\var{neg} \\times \\var{base2}^{\\var{num}/\\var{den}}$ = [[0]]

\n

\n

Note: If you want to use a fraction as a power you should use brackets to surround your power, for example, type 12^(2/3) for $12^\\frac{2}{3}$.

\n

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

Since the bases are all the same ($\\var{base2}$) and we are multiplying, we can simply add the powers. 

\n

You could convert the fraction to a decimal and then add them all. Or you could add them all as fractions. 

\n

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{base2}^{sumpow3}", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["^"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "notallowed": {"strings": ["^0"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "mustmatchpattern": {"pattern": "?^?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "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{base3}^\\var{powers3[0][0]}\\times \\var{base1}^\\var{wild[0]} \\times \\var{base3}^\\var{powers3[1][0]}$ = [[0]]

\n

\n

Note: use * for multiplication.

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

It is important to note that the bases are different! We can only add the powers if the bases are the same. 

\n

\n
\n

\n

Recall:

\n\n

So in total what do we have?

\n

 $\\var{base1}^\\var{wild[0]}\\var{base3}^\\var{sumpow4}$.

\n

\n
\n

\n

Note we would type {base1}^{wild[0]}*{base3}^{sumpow4}.

\n

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{base1}^{wild[0]}*{base3}^{sumpow4}", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "musthave": {"strings": ["^"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "notallowed": {"strings": ["^0"], "showStrings": false, "partialCredit": 0, "message": "

Use ^ for powers. Input your answer in index form.

"}, "mustmatchpattern": {"pattern": "?^?*?^?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": []}], "sortAnswers": false}, {"type": "1_n_2", "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": "

Is the following statement true or false?

\n

$\\var{base1}\\times\\var{base2}^\\var{powers1[0][0]} = \\var{base1*base2}^\\var{powers1[0][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": "

It is important to note that the bases are different! Index laws only can be applied if the bases are the same (or can be made the same).

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

True

", "

False

"], "matrix": [0, "1"], "distractors": ["", ""]}, {"type": "1_n_2", "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": "

Is the following statement true or false?

\n

$\\var{base1}\\times\\var{base2}^\\var{powers1[0][0]} = \\var{base1*base2}^\\var{powers1[0][0]+1}$

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

It is important to note that the bases are different! Index laws only can be applied if the bases are the same (or can be made the same). We can only add the powers if the bases are the same. 

"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["

True

", "

False

"], "matrix": [0, "1"], "distractors": ["", ""]}], "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/"}]}