// Numbas version: finer_feedback_settings {"name": "Musa's copy of 3 Index laws", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Musa's copy of 3 Index laws", "tags": [], "metadata": {"description": "
Questions testing rather basic understanding of the index laws.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "(a) Add the powers: $\\var{m} + \\var{n}=\\var{m+n}$ (first index law).
\n(b) Multiply the powers $\\var{m1} \\times \\var{n1}=\\var{m1*n1}$ (second index law).
\n(c) Multiply $\\var{xx}$ and $\\var{y}$ to get $\\var{xx*y}$, with the power unchanged at $\\var{t}$. [This is the only way for the power to be a prime.]
", "rulesets": {"std": ["all", "!collectNumbers", "fractionNumbers", "!noLeadingMinus"]}, "extensions": [], "variables": {"xx": {"name": "xx", "group": "Ungrouped variables", "definition": "random(3,6,9,10,12,13,16,18,20,21)", "description": "", "templateType": "anything"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..12 except m)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(2,3,5,7)", "description": "", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..12)", "description": "", "templateType": "anything"}, "n1": {"name": "n1", "group": "Ungrouped variables", "definition": "random(2..12 except [m1,n])", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(8..20)", "description": "", "templateType": "anything"}, "t": {"name": "t", "group": "Ungrouped variables", "definition": "random(2,3,5,7,11,13,17)", "description": "", "templateType": "anything"}, "y": {"name": "y", "group": "Ungrouped variables", "definition": "random(4,5,7,8,11,14,15,17,19,23)", "description": "", "templateType": "anything"}, "m1": {"name": "m1", "group": "Ungrouped variables", "definition": "random(2..9 except m)", "description": "", "templateType": "anything"}, "x2": {"name": "x2", "group": "Ungrouped variables", "definition": "random(3..8)", "description": "", "templateType": "anything"}, "y2": {"name": "y2", "group": "Ungrouped variables", "definition": "random(3..15 except x2)", "description": "", "templateType": "anything"}, "x3": {"name": "x3", "group": "Ungrouped variables", "definition": "random(3..15)", "description": "", "templateType": "anything"}, "y3": {"name": "y3", "group": "Ungrouped variables", "definition": "random(3..15 except x3)", "description": "", "templateType": "anything"}, "m2": {"name": "m2", "group": "Ungrouped variables", "definition": "random(-15..15 except 0)", "description": "", "templateType": "anything"}, "m31": {"name": "m31", "group": "Ungrouped variables", "definition": "random(-5,-3,-1,1,3,5,7,9,11)", "description": "", "templateType": "anything"}, "m32": {"name": "m32", "group": "Ungrouped variables", "definition": "random(2,4,6,8,10,12,14,16)", "description": "", "templateType": "anything"}, "x4": {"name": "x4", "group": "Ungrouped variables", "definition": "random(3..9)", "description": "", "templateType": "anything"}, "m41": {"name": "m41", "group": "Ungrouped variables", "definition": "random(6..15)", "description": "", "templateType": "anything"}, "m42": {"name": "m42", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "x5": {"name": "x5", "group": "Ungrouped variables", "definition": "random(3..15)", "description": "", "templateType": "anything"}, "m52": {"name": "m52", "group": "Ungrouped variables", "definition": "random(4..19)", "description": "", "templateType": "anything"}, "m51": {"name": "m51", "group": "Ungrouped variables", "definition": "random(-10..-1)", "description": "", "templateType": "anything"}, "kk1": {"name": "kk1", "group": "Ungrouped variables", "definition": "random(2,3,5,6,7)", "description": "", "templateType": "anything"}, "xx1": {"name": "xx1", "group": "Ungrouped variables", "definition": "random(2..8 except kk1)", "description": "", "templateType": "anything"}, "d8": {"name": "d8", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "n8": {"name": "n8", "group": "Ungrouped variables", "definition": "random(-8..-4)", "description": "", "templateType": "anything"}, "n88": {"name": "n88", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything"}, "k8": {"name": "k8", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "m8": {"name": "m8", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "m9": {"name": "m9", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything"}, "n99": {"name": "n99", "group": "Ungrouped variables", "definition": "random(1..3)", "description": "", "templateType": "anything"}, "k9": {"name": "k9", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "n9": {"name": "n9", "group": "Ungrouped variables", "definition": "random(-8..-4)", "description": "", "templateType": "anything"}, "a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "t1": {"name": "t1", "group": "Ungrouped variables", "definition": "random(3..5)", "description": "", "templateType": "anything"}, "d55": {"name": "d55", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "c55": {"name": "c55", "group": "Ungrouped variables", "definition": "random(-3..3)", "description": "", "templateType": "anything"}, "b55": {"name": "b55", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything"}, "a55": {"name": "a55", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "t55": {"name": "t55", "group": "Ungrouped variables", "definition": "random(3..5)", "description": "", "templateType": "anything"}, "n55": {"name": "n55", "group": "Ungrouped variables", "definition": "t55*f55", "description": "", "templateType": "anything"}, "f55": {"name": "f55", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything"}, "m55": {"name": "m55", "group": "Ungrouped variables", "definition": "a55*f55+b55*c55*f55*t55-d55*t55", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "m", "n", "m1", "t", "n1", "y", "xx", "x2", "y2", "x3", "y3", "m2", "m31", "m32", "x4", "m41", "m42", "x5", "m52", "m51", "kk1", "xx1", "d8", "n8", "n88", "k8", "m8", "m9", "n99", "k9", "n9", "a1", "t1", "d55", "c55", "b55", "a55", "t55", "n55", "f55", "m55"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Express the following as a single power of $\\var{a}$:
\n\\[\\var{a}^{\\var{m}} \\times \\var{a}^{\\var{n}}\\]
\nEnter the power [[0]]
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{m+n}", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.0001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "Input as a fraction or an integer, not as a decimal.
"}, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Express the following as a single power of $\\var{b}$:
\n\\[(\\var{b}^{\\var{m1}})^{\\var{n1}}\\]
\nEnter the power [[0]]
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{m1*n1}", "answerSimplification": "std", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.0001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "notallowed": {"strings": ["."], "showStrings": false, "partialCredit": 0, "message": "Input as a fraction or an integer, not as a decimal.
"}, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "Simplify as power of $\\var{x5}:$
\n\n${\\frac{1}{\\var{x5}^\\var{m52}}}$ = [[0]]
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{x5}^{-m52}", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "
Simplify as in the form $a \\sqrt{b}$ such that b is not a square number (use \"sqrt\" for square root):
\n\n$\\sqrt{\\simplify{({xx1}^2)*{kk1}}} $ = [[0]]
\n\n
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{xx1}*sqrt({kk1})", "answerSimplification": "fractionNumbers", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": []}], "sortAnswers": false}], "type": "question", "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}]}], "contributors": [{"name": "Newcastle University Mathematics and Statistics", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/697/"}, {"name": "Musa Mammadov", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4417/"}]}