// Numbas version: exam_results_page_options {"name": "Solve an exponential equation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Solve an exponential equation", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solve an exponential equation

"}, "ungrouped_variables": ["a", "m", "c", "k"], "extensions": [], "type": "question", "statement": "

Given the equation \\(f(x)=\\var{a}e^{\\var{m}x+\\var{c}}\\)

\n

Determine the value for \\(x\\) that satisfies the relation \\(f(x)=\\var{k}\\)

", "variable_groups": [], "functions": {}, "variables": {"a": {"templateType": "randrange", "name": "a", "group": "Ungrouped variables", "description": "", "definition": "random(4..20#1)"}, "c": {"templateType": "randrange", "name": "c", "group": "Ungrouped variables", "description": "", "definition": "random(0.1..3#0.2)"}, "k": {"templateType": "randrange", "name": "k", "group": "Ungrouped variables", "description": "", "definition": "random(100..150#1)"}, "m": {"templateType": "randrange", "name": "m", "group": "Ungrouped variables", "description": "", "definition": "random(0.1..1.5#0.1)"}}, "tags": [], "parts": [{"variableReplacements": [], "showFeedbackIcon": true, "prompt": "

Input your answer correct to three decimal places.

\n

\\(x = \\) [[0]]

", "showCorrectAnswer": true, "type": "gapfill", "marks": 0, "gaps": [{"variableReplacements": [], "precisionPartialCredit": 0, "minValue": "(ln({k}/{a})-{c})/{m}", "type": "numberentry", "maxValue": "(ln({k}/{a})-{c})/{m}", "precision": "3", "mustBeReduced": false, "showPrecisionHint": false, "correctAnswerStyle": "plain", "correctAnswerFraction": false, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "notationStyles": ["plain", "en", "si-en"], "allowFractions": false, "precisionMessage": "You have not given your answer to the correct precision.", "showCorrectAnswer": true, "showFeedbackIcon": true, "strictPrecision": false, "precisionType": "dp", "scripts": {}, "marks": "2"}], "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variablesTest": {"condition": "c>0 or c<0 ", "maxRuns": 100}, "preamble": {"css": "", "js": ""}, "rulesets": {}, "advice": "

\\(\\var{k}=\\var{a}e^{\\var{m}x+{\\var{c}}}\\)

\n

\\(\\frac{\\var{k}}{\\var{a}}=e^{\\var{m}x+\\var{c}}\\)

\n

\\(ln\\left(\\frac{\\var{k}}{\\var{a}}\\right)=\\var{m}x+\\var{c}\\)

\n

\\(ln\\left(\\frac{\\var{k}}{\\var{a}}\\right)-\\var{c}=\\var{m}x\\)

\n

\\(\\frac{ln\\left(\\frac{\\var{k}}{\\var{a}}\\right)-\\var{c}}{\\var{m}}=x\\)

", "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Frank Doheny", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/789/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}