// Numbas version: exam_results_page_options {"name": "Logarithms: Solving Logarithmic Equations 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Logarithms: Solving Logarithmic Equations 2", "tags": [], "metadata": {"description": "

Finding $x$ from a logarithmic equation of the form $\\log_ax = b$, where $a$ is a positive integer and $b$ is a positive fraction.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "

Find the value of $x$:

\n

\\[ \\log_\\var{a}x = \\simplify[fractionNumbers]{{n}/{m}} \\]

", "advice": "

To find the value of $x$, recall that $\\log_a(x)=b$ is equivalent to $x=a^b$. 

\n

Therefore, \\[\\log_\\var{a}(x) = \\simplify[fractionNumbers]{{n}/{m}} \\implies \\simplify[!collectNumbers,fractionNumbers]{x={a}^({n}/{m})}.\\]

\n

Hence, {advice} 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..5)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "if(m=7,random(2..6),if(m=5,random(2..8 except 5),if(m=3,random(2..8 except [3,6]),random((3..9 except [4,6,8])))))", "description": "", "templateType": "anything", "can_override": false}, "sol": {"name": "sol", "group": "Ungrouped variables", "definition": "precround(a^(n/m),2)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random([2,3,5,7])", "description": "", "templateType": "anything", "can_override": false}, "advice": {"name": "advice", "group": "Ungrouped variables", "definition": "if(sol=round(sol),'{check1}','{check2}')", "description": "", "templateType": "anything", "can_override": false}, "check1": {"name": "check1", "group": "Ungrouped variables", "definition": "\"

\\\\[x=\\\\var{sol}.\\\\]

\"", "description": "", "templateType": "long string", "can_override": false}, "check2": {"name": "check2", "group": "Ungrouped variables", "definition": "\"

\\\\[x=\\\\var{sol} \\\\text{ (2.d.p)}.\\\\]

\"", "description": "", "templateType": "long string", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "sol", "m", "n", "advice", "check1", "check2"], "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": "

$x=$ [[0]] (Give you answer to 2 decimal places where necessary)

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{sol}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}]}], "contributors": [{"name": "Ben McGovern", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4872/"}]}