// Numbas version: exam_results_page_options {"name": "Leonardo's copy of Solve equations which include a single odd power (e.g. x^odd=blah)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "preamble": {"css": "", "js": ""}, "parts": [{"marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "sortAnswers": false, "showFeedbackIcon": true, "customName": "", "prompt": "

If  $x^\\var{intpower}=\\var{intrhs}$, then $x=$ [[0]]. [[1]]

", "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": 1, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "failureRate": 1, "type": "jme", "checkingAccuracy": 0.001, "showFeedbackIcon": true, "customName": "", "checkingType": "absdiff", "answer": "{intsoln}", "valuegenerators": [], "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}, {"marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "sortAnswers": false, "showFeedbackIcon": true, "customName": "", "prompt": "

If  $\\simplify{{bxcoeff}y^{bpower}+{bb}}=\\var{bc}$, then $y=$ [[0]].

", "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetRangePoints": 5, "checkVariableNames": false, "showPreview": true, "marks": 1, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "failureRate": 1, "type": "jme", "checkingAccuracy": 0.001, "showFeedbackIcon": true, "customName": "", "checkingType": "absdiff", "answer": "{bsoln}", "valuegenerators": [], "variableReplacementStrategy": "originalfirst", "vsetRange": [0, 1], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}, {"marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "sortAnswers": false, "showFeedbackIcon": true, "customName": "", "prompt": "

For this question input the exact value by using a fractional power to indicate a root. For example, if the answer was $\\sqrt[3]{\\frac{35}{11}}$, then enter  (35/11)^(1/3).

\n

If  $\\simplify{{cxcoeff}z^{cpower}+{cb}}=\\var{cc}$, then $z=$ [[0]].

", "variableReplacementStrategy": "originalfirst", "gaps": [{"showPreview": true, "variableReplacements": [], "failureRate": 1, "checkingAccuracy": 0.001, "checkingType": "absdiff", "customName": "", "vsetRangePoints": 5, "valuegenerators": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "checkVariableNames": false, "marks": 1, "extendBaseMarkingAlgorithm": true, "type": "jme", "showFeedbackIcon": true, "answerSimplification": "fractionNumbers", "answer": "({(cc-cb)/cxcoeff})^(1/{cpower})", "useCustomName": false, "vsetRange": [0, 1], "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": ""}], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}, {"marks": 0, "extendBaseMarkingAlgorithm": true, "variableReplacements": [], "type": "gapfill", "sortAnswers": false, "showFeedbackIcon": true, "customName": "", "prompt": "

For this question input the exact value by using a fractional power to indicate a root. For example, if the answer was $\\sqrt[3]{\\frac{35}{11}}$, then enter  (35/11)^(1/3).

\n

If  $\\displaystyle{\\simplify{((z+{db})^{bpower})/({ddenom})}}=\\var{dc}$, then $z=$ [[0]].

", "variableReplacementStrategy": "originalfirst", "gaps": [{"showPreview": true, "variableReplacements": [], "failureRate": 1, "checkingAccuracy": 0.001, "checkingType": "absdiff", "customName": "", "vsetRangePoints": 5, "valuegenerators": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "checkVariableNames": false, "marks": 1, "extendBaseMarkingAlgorithm": true, "type": "jme", "showFeedbackIcon": true, "answerSimplification": "basic", "answer": "({dc*ddenom})^(1/{bpower})-{db}", "useCustomName": false, "vsetRange": [0, 1], "showCorrectAnswer": true, "scripts": {}, "customMarkingAlgorithm": ""}], "showCorrectAnswer": true, "scripts": {}, "useCustomName": false, "unitTests": [], "customMarkingAlgorithm": ""}], "extensions": [], "variable_groups": [{"variables": ["intpower", "intrhs", "intsoln", "powers"], "name": "a"}, {"variables": ["bpower", "bsoln", "bxcoeff", "bb", "bc", "brhs"], "name": "b"}, {"variables": ["cpower", "cxcoeff", "cc", "cb"], "name": "c"}], "functions": {}, "metadata": {"description": "

Questions to test if the student knows the inverse of an odd power (and how to solve equations that contain a single power that is odd). 

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

a) Given $x^\\var{intpower}=\\var{intrhs}$, we can take the $\\var{intpower}$nd rd th  root of both sides.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$x^\\var{intpower}$$=$$\\var{intrhs}$ 
 
$\\sqrt[\\var{intpower}]{x^\\var{intpower}}$$=$$\\sqrt[\\var{intpower}]{\\var{intrhs}}$
 
$x$$=$$\\var{intsoln}$
\n

\n

b) Given $\\simplify{{bxcoeff}y^{bpower}+{bb}}=\\var{bc}$, we can rearrange the equation to get $y^\\var{bpower}$ by itself and then we can take the $\\var{bpower}$nd rd th  root of both sides to get $y$ by itself.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{bxcoeff}y^{bpower}+{bb}}$$=$$\\var{bc}$ 
 
$\\simplify{{bxcoeff}y^{bpower}}$$=$$\\simplify[basic]{{bc}-{bb}}$
 
$\\simplify{{bxcoeff}y^{bpower}}$$=$$\\simplify{{bc-bb}}$
$y^\\var{bpower}$$=$$\\simplify[!basic]{{bc-bb}/{bxcoeff}}$
$y^\\var{bpower}$$=$$\\simplify{{bc-bb}/{bxcoeff}}$
$\\sqrt[\\var{bpower}]{y^\\var{bpower}}$$=$$\\sqrt[\\var{bpower}]{\\var{brhs}}$
$y$$=$$\\var{bsoln}$
\n

\n

c) Given $\\simplify{{cxcoeff}z^{cpower}+{cb}}=\\var{cc}$, we can rearrange the equation to get $z^\\var{cpower}$ by itself and then we can take the $\\var{cpower}$nd rd th  root of both sides to get $z$ by itself.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\simplify{{cxcoeff}z^{cpower}+{cb}}$$=$$\\var{cc}$ 
 
$\\simplify{{cxcoeff}z^{cpower}}$$=$$\\simplify[basic]{{cc}-{cb}}$
 
$\\simplify{{cxcoeff}z^{cpower}}$$=$$\\simplify{{cc-cb}}$
$z^\\var{cpower}$$=$$\\simplify[!basic]{{cc-cb}/{cxcoeff}}$
$z^\\var{cpower}$$=$$\\simplify[fractionNumbers]{{(cc-cb)/cxcoeff}}$
$\\sqrt[\\var{cpower}]{z^\\var{cpower}}$$=$$\\sqrt[\\var{cpower}]{\\simplify[fractionNumbers]{{(cc-cb)/cxcoeff}}}$
$z$$=$$\\simplify[fractionNumbers]{{(cc-cb)/cxcoeff}^{1/{cpower}}}$
\n

\n

\n

d) Given $\\displaystyle{\\simplify{((z+{db})^{bpower})/({ddenom})}}=\\var{dc}$, we can rearrange the equation to get $\\simplify{(z+{db})^{bpower}}$ by itself, then we can take the $\\var{bpower}$nd rd th  root of both sides to get $\\simplify{z+{db}}$ by itself, and then rearrange to get $z$ by itself.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
$\\displaystyle{\\simplify{((z+{db})^{bpower})/({ddenom})}}$$=$$\\var{dc}$ 
 
$\\simplify{(z+{db})^{bpower}}$$=$$\\simplify[basic]{{dc}*{ddenom}}$
 
$\\simplify{(z+{db})^{bpower}}$$=$$\\var{dc*ddenom}$
$\\sqrt[\\var{bpower}]{\\simplify{(z+{db})^{bpower}}}$$=$$\\sqrt[\\var{bpower}]{\\var{dc*ddenom}}$
$\\simplify{z+{db}}$$=$$\\sqrt[\\var{bpower}]{\\var{dc*ddenom}}$
$z$$=$$\\simplify{root({dc*ddenom},{bpower})-{db}}$
$z$$=$$\\simplify{{dc*ddenom}^(1/{bpower})-{db}}$
", "statement": "

Please complete the following.

", "name": "Leonardo's copy of Solve equations which include a single odd power (e.g. x^odd=blah)", "ungrouped_variables": ["dc", "db", "ddenom"], "rulesets": {}, "variables": {"cpower": {"group": "c", "description": "", "templateType": "anything", "definition": "powers[2]", "name": "cpower"}, "ddenom": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(2..15)", "name": "ddenom"}, "dc": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(-100..100 except -1..1)", "name": "dc"}, "powers": {"group": "a", "description": "", "templateType": "anything", "definition": "shuffle([3,5,7,9])", "name": "powers"}, "cc": {"group": "c", "description": "", "templateType": "anything", "definition": "random(-100..100)", "name": "cc"}, "intrhs": {"group": "a", "description": "", "templateType": "anything", "definition": "intsoln^intpower\n", "name": "intrhs"}, "bxcoeff": {"group": "b", "description": "", "templateType": "anything", "definition": "random(-3..3 except 0..1)", "name": "bxcoeff"}, "bpower": {"group": "b", "description": "", "templateType": "anything", "definition": "powers[1]", "name": "bpower"}, "intpower": {"group": "a", "description": "", "templateType": "anything", "definition": "powers[0]", "name": "intpower"}, "cb": {"group": "c", "description": "", "templateType": "anything", "definition": "random(-100..100 except [0,cc])", "name": "cb"}, "bsoln": {"group": "b", "description": "", "templateType": "anything", "definition": "switch(bpower=3, random(-10..10 except -1..1), bpower=5, random(-4..4 except -1..1), bpower=7, random(-3..3 except -1..1), 2)", "name": "bsoln"}, "intsoln": {"group": "a", "description": "", "templateType": "anything", "definition": "switch(intpower=3, random(2..12), intpower=5, random(2..5), intpower=7, random(2..3), 2)", "name": "intsoln"}, "db": {"group": "Ungrouped variables", "description": "", "templateType": "anything", "definition": "random(-100..100 except -1..1)", "name": "db"}, "cxcoeff": {"group": "c", "description": "", "templateType": "anything", "definition": "random(-12..12 except -1..1)", "name": "cxcoeff"}, "brhs": {"group": "b", "description": "", "templateType": "anything", "definition": "(bc-bb)/bxcoeff", "name": "brhs"}, "bc": {"group": "b", "description": "", "templateType": "anything", "definition": "bsoln^bpower*bxcoeff+bb", "name": "bc"}, "bb": {"group": "b", "description": "", "templateType": "anything", "definition": "random(1..100)", "name": "bb"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Leonardo Juliano", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3600/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Leonardo Juliano", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3600/"}]}