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

Rewriting $\\log_{10}\\left(\\frac{\\sqrt{x}}{y}\\right)$ in terms of $\\log_{10}(a)$ and $\\log_{10}(b)$, where $a$, $b$, $x$ and $y$ are given.

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

Rewrite the following expression in terms of $\\simplify{log({a})}$ and $\\simplify{log({b})}$:

\n

\\[ \\simplify[fractionNumbers]{log(sqrt({a})/ {b^n})}.\\]

", "advice": "

To rewrite $\\simplify[fractionNumbers]{log(sqrt({a})/{b^n})}$ in terms of $\\simplify{log({a})}$ and $\\simplify{log({b})}$, we want to use the following logarithm rules:

\n\n

Hence,

\n

\\[ \\begin{split} \\simplify[fractionNumbers]{log(sqrt({a})/{b^n})} &\\,=  \\simplify{log(sqrt({a})) - log({b^n})} \\\\ &\\,=  \\simplify[!collectNumbers]{log({a}^(1/2)) - log({b}^{n})} \\\\ &\\,= \\simplify{(1/2)log({a})-{n}log({b})} .\\end{split} \\]

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random([2,3,5,7])", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random([2,3,5,7] except a)", "description": "", "templateType": "anything", "can_override": false}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "if(b=7,2,random([2,3]))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "n"], "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": "

[[0]]

", "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": "1/2 log({a})-{n}*log({b})", "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/"}]}