// Numbas version: exam_results_page_options {"name": "Andrew's copy of Numerical skills Solving Logarithms ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"statement": "

Solve these equations for x, give your answer as integer or fraction.

", "question_groups": [{"pickQuestions": 0, "questions": [], "name": "", "pickingStrategy": "all-ordered"}], "variables": {"a3": {"group": "Ungrouped variables", "name": "a3", "definition": "a2/2", "templateType": "anything", "description": ""}, "a4": {"group": "Ungrouped variables", "name": "a4", "definition": "random(2..3 except a2 except a3)", "templateType": "anything", "description": ""}, "d3": {"group": "Ungrouped variables", "name": "d3", "definition": "a*b", "templateType": "anything", "description": ""}, "a2": {"group": "Ungrouped variables", "name": "a2", "definition": "random([4,6,8,10])", "templateType": "anything", "description": ""}, "b4": {"group": "Ungrouped variables", "name": "b4", "definition": "random(1..19)", "templateType": "anything", "description": ""}, "a1": {"group": "Ungrouped variables", "name": "a1", "definition": "2a2^((a4)-1)", "templateType": "anything", "description": ""}, "c2": {"group": "Ungrouped variables", "name": "c2", "definition": "random(2..19)", "templateType": "anything", "description": ""}, "b": {"group": "Ungrouped variables", "name": "b", "definition": "floor(3a/2)", "templateType": "anything", "description": ""}, "b1": {"group": "Ungrouped variables", "name": "b1", "definition": "random(2..6)", "templateType": "anything", "description": ""}, "d2": {"group": "Ungrouped variables", "name": "d2", "definition": "random(2..5)", "templateType": "anything", "description": ""}, "b2": {"group": "Ungrouped variables", "name": "b2", "definition": "random(2..9)", "templateType": "anything", "description": ""}, "c4": {"group": "Ungrouped variables", "name": "c4", "definition": "random(2..9 except c3)", "templateType": "anything", "description": ""}, "c1": {"group": "Ungrouped variables", "name": "c1", "definition": "random(2..5)", "templateType": "anything", "description": ""}, "c3": {"group": "Ungrouped variables", "name": "c3", "definition": "random(2..9 except c2)", "templateType": "anything", "description": ""}, "b3": {"group": "Ungrouped variables", "name": "b3", "definition": "random(2..5)", "templateType": "anything", "description": ""}, "a": {"group": "Ungrouped variables", "name": "a", "definition": "random(1..9)", "templateType": "anything", "description": ""}, "d4": {"group": "Ungrouped variables", "name": "d4", "definition": "+a+b", "templateType": "anything", "description": ""}, "d1": {"group": "Ungrouped variables", "name": "d1", "definition": "random(2..6)", "templateType": "anything", "description": ""}, "c5": {"group": "Ungrouped variables", "name": "c5", "definition": "random(1..5)", "templateType": "anything", "description": ""}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": ""}, "ungrouped_variables": ["a1", "a2", "a3", "a4", "b1", "b2", "b3", "b4", "c1", "c2", "c3", "c4", "c5", "a", "b", "d1", "d2", "d3", "d4"], "advice": "

We want to solve for x. After simplifying, in each case we end up with $\\log_a{f(x)} = b$, so we raise both sides as a power of $a$ to get $a^{\\log_a{f(x)}} = a^b$ which simplifies (by laws of logarithms) to $f(x)=a^b$. We then solve for x accordingly.

\n

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}$

", "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "name": "Andrew's copy of Numerical skills Solving Logarithms ", "rulesets": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "showQuestionGroupNames": false, "type": "question", "tags": [], "parts": [{"marks": 0, "showCorrectAnswer": true, "scripts": {}, "variableReplacements": [], "gaps": [{"showCorrectAnswer": true, "scripts": {}, "variableReplacements": [], "minValue": "{a1}", "marks": 1, "correctAnswerFraction": false, "allowFractions": false, "integerAnswer": true, "integerPartialCredit": 0, "maxValue": "{a1}", "variableReplacementStrategy": "originalfirst", "type": "numberentry"}], "prompt": "

$\\log_\\var{a2}\\var{a3}+\\log_\\var{a2}x = \\var{a4}$

\n

$x=$[[0]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill"}, {"marks": 0, "showCorrectAnswer": true, "scripts": {}, "variableReplacements": [], "gaps": [{"showCorrectAnswer": true, "scripts": {}, "variableReplacements": [], "minValue": "{b2}*({b1}^{b3})-{b4}", "marks": 1, "correctAnswerFraction": false, "allowFractions": false, "integerAnswer": true, "integerPartialCredit": 0, "maxValue": "{b2}*({b1}^{b3})-{b4}", "variableReplacementStrategy": "originalfirst", "type": "numberentry"}], "prompt": "

$\\log_\\var{b1}(x+\\var{b4})-\\log_\\var{b1}\\var{b2} = \\var{b3}$

\n

$x=$[[0]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill"}], "extensions": [], "contributors": [{"name": "Andrew Dunbar", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/770/"}]}]}], "contributors": [{"name": "Andrew Dunbar", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/770/"}]}