// Numbas version: exam_results_page_options {"name": "Indices: fractional powers (algebraic)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Indices: fractional powers (algebraic)", "tags": ["exponent", "exponents", "fractional", "index", "index laws", "Index Laws", "indices", "power", "powers", "rational", "roots"], "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": {"root1": {"name": "root1", "group": "Ungrouped variables", "definition": "random(4..12)", "description": "", "templateType": "anything", "can_override": false}, "power3": {"name": "power3", "group": "Ungrouped variables", "definition": "random(2..12 except [root2,root3])", "description": "", "templateType": "anything", "can_override": false}, "power2": {"name": "power2", "group": "Ungrouped variables", "definition": "random(2..12 except root2)", "description": "", "templateType": "anything", "can_override": false}, "root3": {"name": "root3", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}, "root2": {"name": "root2", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["root1", "root2", "power2", "root3", "power3"], "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": "

By using the definition of the square root you should see that $(\\sqrt{q})^2=q$.

\n

By using index laws you should see that $(q^{1/2})^2=q$.

\n

The above equations imply that $\\sqrt{q}$ can also be written as  [[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}$.

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

Given \\[(\\sqrt{q})^2=q=(q^{1/2})^2\\]

\n

we can say \\[\\sqrt{q}=q^{1/2}\\]

\n

Which we would type in as $q\\wedge(1/2)$.

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\n///var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\n//var rule = Numbas.jme.compile('?? ^ ??');\n\n// Check the student's answer matches the pattern. \n//var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\n//if(!m) {\n //this.multCredit(0,'Your answer is not in the form $x^y$.');\n//}\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "q^(1/2)", "answerSimplification": "basic", "showPreview": false, "checkingType": "absdiff", "checkingAccuracy": "0.00001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "maxlength": {"length": "11", "partialCredit": 0, "message": "

Your answer is longer than necessary.

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

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

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

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

"}, "valuegenerators": [{"name": "q", "value": ""}]}], "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": "

By using the definition of the cube root you should see that $(\\sqrt[3]{p})^3=p$.

\n

By using index laws you should see that $(p^{1/3})^3=p$.

\n

The above equations imply that $\\sqrt[3]{p}$ can also be written as  [[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}$.

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

Given \\[(\\sqrt[3]{p})^3=p=(p^{1/3})^3\\]

\n

we can say \\[\\sqrt[3]{p}=p^{1/3}\\]

\n

Which we would type in as $p\\wedge(1/3)$.

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\n///var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\n//var rule = Numbas.jme.compile('?? ^ ??');\n\n// Check the student's answer matches the pattern. \n//var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\n//if(!m) {\n //this.multCredit(0,'Your answer is not in the form $x^y$.');\n//}\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "p^(1/3)", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.00001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "maxlength": {"length": "11", "partialCredit": 0, "message": "

Your answer is longer than necessary.

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

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

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

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

"}, "valuegenerators": [{"name": "p", "value": ""}]}], "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


$\\sqrt[\\var{root1}]{g}$ = [[0]]

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

By the same reasoning as used in the above questions we have $\\sqrt[n]{a}=a^{\\frac{1}{n}}$. 

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\n///var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\n//var rule = Numbas.jme.compile('?? ^ ??');\n\n// Check the student's answer matches the pattern. \n//var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\n//if(!m) {\n //this.multCredit(0,'Your answer is not in the form $x^y$.');\n//}\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "g^(1/{root1})", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.00001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "maxlength": {"length": "11", "partialCredit": 0, "message": "

Your answer is longer than necessary.

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

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

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

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

"}, "valuegenerators": [{"name": "g", "value": ""}]}], "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": "

$\\displaystyle\\left(\\sqrt[\\var{root2}]{e}\\right)^\\var{power2}$ = [[0]]

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

Convert the root to a fractional power and then use the index laws to deal with the two different powers.

\n
\n

For example, \\[\\sqrt[3]{2}^5=(2^{\\frac{1}{3}})^5=2^{\\frac{5}{3}}\\] 

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\n///var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\n//var rule = Numbas.jme.compile('?? ^ ??');\n\n// Check the student's answer matches the pattern. \n//var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\n//if(!m) {\n //this.multCredit(0,'Your answer is not in the form $x^y$.');\n//}\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "e^({power2}/{root2})", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.00001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "maxlength": {"length": "11", "partialCredit": 0, "message": "

Your answer is longer than necessary.

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

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

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

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

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

$\\sqrt[\\var{root3}]{r^\\var{power3}}$ = [[0]]

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

Convert the root to a fractional power and then use the index laws to deal with the two different powers.

\n
\n

For example, \\[\\sqrt[3]{2^5}=(2^5)^{\\frac{1}{3}}=2^{\\frac{5}{3}}\\] 

"}], "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {"mark": {"script": "// Parse the student's answer as a syntax tree\n///var studentTree = Numbas.jme.compile(this.studentAnswer,Numbas.jme.builtinScope);\n\n// Create the pattern to match against \n// We just want to check that the student has written \"something to the power of something\"\n//var rule = Numbas.jme.compile('?? ^ ??');\n\n// Check the student's answer matches the pattern. \n//var m = Numbas.jme.display.matchTree(rule,studentTree,true);\n\n// If not, take away marks\n//if(!m) {\n //this.multCredit(0,'Your answer is not in the form $x^y$.');\n//}\n", "order": "after"}}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "r^({power3}/{root3})", "answerSimplification": "basic", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": "0.00001", "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "maxlength": {"length": "11", "partialCredit": 0, "message": "

Your answer is longer than necessary.

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

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

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

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

"}, "valuegenerators": [{"name": "r", "value": ""}]}], "sortAnswers": false}], "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/"}]}