// Numbas version: finer_feedback_settings {"name": "Solving equations that contain natural log", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["n1", "n2", "n3", "ans1", "n4", "n5", "n6", "n7", "ans2", "n8", "n9", "n10", "ans3"], "name": "Solving equations that contain natural log", "tags": ["rebel", "rebelmaths"], "preamble": {"css": "", "js": ""}, "advice": "
i) $\\var{n1}\\ln(\\var{n2}x) = \\var{n3}$
\n$\\ln(\\var{n2}x) = \\frac{\\var{n3}}{\\var{n1}}$
\nNext,
\n$\\var{n2}x = e^{\\frac{\\var{n3}}{\\var{n1}}}$
\n$x= \\frac{e^{(\\frac{\\var{n3}}{\\var{n1}})} }{\\var{n2}} = \\var{ans1}$
\n\nii) $\\var{n4}\\ln(\\frac{\\var{n5}x}{\\var{n6}}) = \\var{n7}$
\n$\\ln(\\frac{\\var{n5}x}{\\var{n6}}) =\\frac{ \\var{n7}}{\\var{n4}}$
\nNext,
\n$\\frac{\\var{n5}x}{\\var{n6}}=e^{\\frac{ \\var{n7}}{\\var{n4}}}$
\n$x= e^{(\\frac{\\var{n7}}{\\var{n4}})} \\times \\frac{\\var{n6}}{\\var{n5}} = \\var{ans2}$
\n\n\niii) $\\var{n8} = \\ln(\\frac{\\var{n9}}{\\var{n10}x})$
\n$e^{\\var{n8}}=\\frac{\\var{n9}}{\\var{n10}x}$
\n$\\var{n10}xe^{\\var{n8}}=\\var{n9}$
\n$x= \\frac{\\var{n9}}{(\\var{n10} \\times e^\\var{n8})} = \\var{ans3}$
", "rulesets": {}, "parts": [{"prompt": "i) $\\var{n1}\\ln(\\var{n2}x) = \\var{n3}$
\n$x = $[[0]]
\nii) $\\var{n4}\\ln(\\frac{\\var{n5}x}{\\var{n6}}) = \\var{n7}$
\n$x = $[[1]]
\niii) $\\var{n8} = \\ln(\\frac{\\var{n9}}{\\var{n10}x})$
\nGive correct to 4 decimal places:
\n$x = $[[2]]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ans1}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "{ans1}", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "2", "maxValue": "{ans2}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "{ans2}", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "4", "maxValue": "{ans3}", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "{ans3}", "type": "numberentry", "showPrecisionHint": false}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "Solve for $x$ in the following, correct to 2 decimal places:
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"n10": {"definition": "random(2..4)", "templateType": "anything", "group": "Ungrouped variables", "name": "n10", "description": ""}, "ans1": {"definition": "e^(n3/n1)/n2", "templateType": "anything", "group": "Ungrouped variables", "name": "ans1", "description": ""}, "ans2": {"definition": "e^(n7/n4)*(n6/n5)", "templateType": "anything", "group": "Ungrouped variables", "name": "ans2", "description": ""}, "ans3": {"definition": "n9/(n10*(e^n8))", "templateType": "anything", "group": "Ungrouped variables", "name": "ans3", "description": ""}, "n8": {"definition": "random(5.5..8.5#0.1 except [7,8])", "templateType": "anything", "group": "Ungrouped variables", "name": "n8", "description": ""}, "n9": {"definition": "random(3.5..5.4#0.1 except [4,5])", "templateType": "anything", "group": "Ungrouped variables", "name": "n9", "description": ""}, "n1": {"definition": "random(7..11)", "templateType": "anything", "group": "Ungrouped variables", "name": "n1", "description": ""}, "n2": {"definition": "random(n1+1..21)", "templateType": "anything", "group": "Ungrouped variables", "name": "n2", "description": ""}, "n3": {"definition": "random(n2..40)", "templateType": "anything", "group": "Ungrouped variables", "name": "n3", "description": ""}, "n4": {"definition": "random(7.1..8.9#0.1 except 8)", "templateType": "anything", "group": "Ungrouped variables", "name": "n4", "description": ""}, "n5": {"definition": "random(2.5..5.5#0.1)", "templateType": "anything", "group": "Ungrouped variables", "name": "n5", "description": ""}, "n6": {"definition": "random(6..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "n6", "description": ""}, "n7": {"definition": "random(5.1..6.9#0.1 except 6)", "templateType": "anything", "group": "Ungrouped variables", "name": "n7", "description": ""}}, "metadata": {"notes": "rebelmaths rebel Rebel REBEL
", "description": "Using e to solve equations involving the natural log
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}