// Numbas version: exam_results_page_options {"name": "Blathnaid's copy of Adding and Subtracting Logs", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"description": "

Practice using the log rules to add and subtract logarithms

", "licence": "Creative Commons Attribution 4.0 International"}, "tags": [], "ungrouped_variables": ["a1", "a2", "b1", "b2", "c1", "c2", "c3", "d1", "d2", "d3", "e1", "e2", "e3", "f1", "f2", "f3", "f4", "f5", "g1", "g2", "g3", "g4", "h1", "h2", "h3", "i1", "i2", "i3", "i4"], "rulesets": {}, "statement": "

Express each of the following as a single logarithm

\n

", "variablesTest": {"condition": "", "maxRuns": 100}, "advice": "

Use of the laws of logarithms is crucial here:

\n

$\\log{a} + \\log{b} = \\log{ab}$

\n

$\\log{a} - \\log{b} = \\log{\\frac{a}{b}}$

\n

$\\log{a^n} = n\\log{a}$

\n

", "extensions": [], "name": "Blathnaid's copy of Adding and Subtracting Logs", "preamble": {"css": "", "js": ""}, "functions": {}, "variables": {"c1": {"description": "", "templateType": "anything", "name": "c1", "definition": "random(2..19)", "group": "Ungrouped variables"}, "g3": {"description": "", "templateType": "anything", "name": "g3", "definition": "random(2..9 except g2 except g1)", "group": "Ungrouped variables"}, "g2": {"description": "", "templateType": "anything", "name": "g2", "definition": "random(2..9 except g1)", "group": "Ungrouped variables"}, "i2": {"description": "", "templateType": "anything", "name": "i2", "definition": "random(2..9)", "group": "Ungrouped variables"}, "i1": {"description": "", "templateType": "anything", "name": "i1", "definition": "random(2..9)", "group": "Ungrouped variables"}, "c3": {"description": "", "templateType": "anything", "name": "c3", "definition": "c1*c2", "group": "Ungrouped variables"}, "a1": {"description": "", "templateType": "anything", "name": "a1", "definition": "random(2..9)", "group": "Ungrouped variables"}, "d2": {"description": "", "templateType": "anything", "name": "d2", "definition": "random(2..9 except d1)", "group": "Ungrouped variables"}, "e2": {"description": "", "templateType": "anything", "name": "e2", "definition": "random(2..9 except e1)", "group": "Ungrouped variables"}, "a2": {"description": "", "templateType": "anything", "name": "a2", "definition": "random(2..9 except a1)", "group": "Ungrouped variables"}, "i3": {"description": "", "templateType": "anything", "name": "i3", "definition": "i1*i2", "group": "Ungrouped variables"}, "h3": {"description": "", "templateType": "anything", "name": "h3", "definition": "h1*h2", "group": "Ungrouped variables"}, "e3": {"description": "", "templateType": "anything", "name": "e3", "definition": "random(2..9 except e1 except e2)", "group": "Ungrouped variables"}, "b2": {"description": "", "templateType": "anything", "name": "b2", "definition": "random(2..19 except a1 except a2 except b1)", "group": "Ungrouped variables"}, "c2": {"description": "", "templateType": "anything", "name": "c2", "definition": "random(2..9 except c1)", "group": "Ungrouped variables"}, "f1": {"description": "", "templateType": "anything", "name": "f1", "definition": "random(2..9)", "group": "Ungrouped variables"}, "f4": {"description": "", "templateType": "anything", "name": "f4", "definition": "f2-1", "group": "Ungrouped variables"}, "f3": {"description": "", "templateType": "anything", "name": "f3", "definition": "f1*f2", "group": "Ungrouped variables"}, "f5": {"description": "", "templateType": "anything", "name": "f5", "definition": "f1^2", "group": "Ungrouped variables"}, "h1": {"description": "", "templateType": "anything", "name": "h1", "definition": "random([4,9,16,25])", "group": "Ungrouped variables"}, "g4": {"description": "", "templateType": "anything", "name": "g4", "definition": "g2*g3", "group": "Ungrouped variables"}, "b1": {"description": "", "templateType": "anything", "name": "b1", "definition": "random(2..19 except a2 except a1)", "group": "Ungrouped variables"}, "e1": {"description": "", "templateType": "anything", "name": "e1", "definition": "random(2..9)", "group": "Ungrouped variables"}, "f2": {"description": "", "templateType": "anything", "name": "f2", "definition": "random(3..5 except f1)", "group": "Ungrouped variables"}, "i4": {"description": "", "templateType": "anything", "name": "i4", "definition": "i2^2", "group": "Ungrouped variables"}, "d1": {"description": "", "templateType": "anything", "name": "d1", "definition": "random(2..19)", "group": "Ungrouped variables"}, "d3": {"description": "", "templateType": "anything", "name": "d3", "definition": "d1*d2", "group": "Ungrouped variables"}, "g1": {"description": "", "templateType": "anything", "name": "g1", "definition": "random(2..4)", "group": "Ungrouped variables"}, "h2": {"description": "", "templateType": "anything", "name": "h2", "definition": "random([2,3,5,7,8,10])", "group": "Ungrouped variables"}}, "variable_groups": [], "parts": [{"showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "gapfill", "variableReplacements": [], "unitTests": [], "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "maxValue": "a1*a2", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "minValue": "a1*a2", "customMarkingAlgorithm": ""}], "sortAnswers": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\log{\\var{a1}} + \\log{\\var{a2}} = \\log$[[0]]

", "customMarkingAlgorithm": ""}, {"showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "gapfill", "variableReplacements": [], "unitTests": [], "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "maxValue": "b1*b2", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "minValue": "b1*b2", "customMarkingAlgorithm": ""}], "sortAnswers": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\log{\\var{b1}} + \\log{\\var{b2}} = \\log$[[0]]

", "customMarkingAlgorithm": ""}, {"showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "gapfill", "variableReplacements": [], "unitTests": [], "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "maxValue": "e1*e2*e3", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "minValue": "e1*e2*e3", "customMarkingAlgorithm": ""}], "sortAnswers": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\log{\\var{e1}} + \\log{\\var{e2}} + \\log{\\var{e3}} = \\log$[[0]]

", "customMarkingAlgorithm": ""}, {"showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "gapfill", "variableReplacements": [], "unitTests": [], "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "maxValue": "g2^(g1-1)", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "minValue": "g2^(g1-1)", "customMarkingAlgorithm": ""}], "sortAnswers": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\var{g1}\\log{\\var{g2}} + \\log{\\var{g3}} - \\log{\\var{g4}}=\\log$[[0]]

", "customMarkingAlgorithm": ""}, {"showCorrectAnswer": true, "marks": 0, "scripts": {}, "type": "gapfill", "variableReplacements": [], "unitTests": [], "gaps": [{"correctAnswerFraction": false, "showCorrectAnswer": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "allowFractions": false, "type": "numberentry", "variableReplacements": [], "unitTests": [], "notationStyles": ["plain", "en", "si-en"], "maxValue": "i1", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "minValue": "i1", "customMarkingAlgorithm": ""}], "sortAnswers": false, "showFeedbackIcon": true, "extendBaseMarkingAlgorithm": true, "variableReplacementStrategy": "originalfirst", "prompt": "

$\\log{\\var{i3}}-\\frac{1}{2}\\log{\\var{i4}} = \\log$[[0]]

", "customMarkingAlgorithm": ""}], "type": "question", "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}, {"name": "Blathnaid Sheridan", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/447/"}]}