// Numbas version: finer_feedback_settings {"name": "Logarithms: rules", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["p", "q"], "functions": {}, "extensions": [], "variablesTest": {"condition": "", "maxRuns": 100}, "metadata": {"description": "
Simplify logarithmic expressions using rules on logarithms.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "Write the following as a single logarithm in the form $\\log (x)$.
\n\\[\\var{p} \\log (a^2b)+\\log(b^4)-\\var{q}\\log(ab)\\]
", "variables": {"p": {"templateType": "anything", "description": "", "definition": "random(6..10)", "group": "Ungrouped variables", "name": "p"}, "q": {"templateType": "anything", "description": "", "definition": "random(2..5)", "group": "Ungrouped variables", "name": "q"}}, "tags": [], "parts": [{"customName": "", "customMarkingAlgorithm": "", "sortAnswers": false, "scripts": {}, "prompt": "[[0]]
", "extendBaseMarkingAlgorithm": true, "showCorrectAnswer": true, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showFeedbackIcon": true, "marks": 0, "unitTests": [], "useCustomName": false, "gaps": [{"customName": "", "customMarkingAlgorithm": "", "failureRate": 1, "checkingType": "absdiff", "showCorrectAnswer": true, "checkVariableNames": false, "vsetRange": [0, 1], "showFeedbackIcon": true, "vsetRangePoints": 5, "checkingAccuracy": 0.001, "scripts": {}, "answer": "log({a}^(2{p}-{q}) * b^({p}-{q}+4))", "valuegenerators": [{"value": "", "name": "a"}, {"value": "", "name": "b"}], "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "type": "jme", "answerSimplification": "all", "marks": 1, "unitTests": [], "showPreview": true, "useCustomName": false, "variableReplacements": []}], "variableReplacements": []}], "rulesets": {}, "advice": "", "name": "Logarithms: rules", "type": "question", "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Sanka Balasuriya", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/738/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}