// Numbas version: exam_results_page_options {"name": "Maria's copy of Domain of an exponential", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"showFeedbackIcon": true, "showCorrectAnswer": true, "shuffleChoices": true, "variableReplacements": [], "maxMarks": 0, "matrix": ["1", "1", 0, 0, 0, 0], "choices": ["

$\\mathbb{R}$

", "

$(-\\infty,\\infty)$

", "

$\\{x\\in\\mathbb{R}:\\, x>0\\}$

", "

$\\{x\\in\\mathbb{R}:\\, x\\ge 0\\}$

", "

$\\{x\\in\\mathbb{R}:\\, -e<x< e\\}$

", "

$\\{x\\in\\mathbb{R}:\\, x\\ne 0\\}$

"], "scripts": {}, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "checkbox", "marks": 0, "maxAnswers": 0, "prompt": "

Which of the following represents the domain of $f(x)=e^x$?

", "warningType": "none", "displayColumns": "1", "minMarks": 0, "minAnswers": 0, "type": "m_n_2"}, {"showFeedbackIcon": true, "showCorrectAnswer": true, "shuffleChoices": true, "variableReplacements": [], "maxMarks": 0, "matrix": ["1", "1", 0, 0, 0, 0], "choices": ["

$\\mathbb{R}$

", "

$(-\\infty,\\infty)$

", "

$\\{\\simplify{{inp}}\\in\\mathbb{R}:\\, \\simplify{{inp}}\\ge \\var{c[4]}\\}$

", "

$\\{\\simplify{{inp}}\\in\\mathbb{R}:\\, \\simplify{{inp}}>0\\}$

", "

$\\{\\simplify{{inp}}\\in\\mathbb{R}:\\, \\simplify{{inp}}\\ne \\simplify{-{c[3]}/{c[2]}}\\}$

", "

$\\{\\simplify{{inp}}\\in\\mathbb{R}:\\, \\simplify{{inp}}<\\var{-b}\\, \\text{or} \\,\\simplify{{inp}}\\ge\\var{b}\\}$

"], "scripts": {}, "distractors": ["", "", "", "", "", ""], "variableReplacementStrategy": "originalfirst", "displayType": "checkbox", "marks": 0, "maxAnswers": 0, "prompt": "

Which of the following represents the domain of $\\simplify{ {out}({inp}) = {c[0]}*{b}^({c[2]}{inp}+{c[3]})+{c[4]}} $?

", "warningType": "none", "displayColumns": "1", "minMarks": 0, "minAnswers": 0, "type": "m_n_2"}], "variables": {"c": {"definition": "shuffle(-12..12 except [-1,0,1])[0..5]", "group": "Ungrouped variables", "name": "c", "description": "", "templateType": "anything"}, "inp": {"definition": "expression(random('x','r','s','t','w'))", "group": "Ungrouped variables", "name": "inp", "description": "", "templateType": "anything"}, "b": {"definition": "random(2..12)", "group": "Ungrouped variables", "name": "b", "description": "", "templateType": "anything"}, "out": {"definition": "expression(random('f','h','g','p','q','y'))", "group": "Ungrouped variables", "name": "out", "description": "", "templateType": "anything"}}, "extensions": [], "variable_groups": [], "variablesTest": {"condition": "", "maxRuns": 100}, "preamble": {"js": "", "css": ""}, "statement": "

Given the real functions below, you should be able to determine their domains. 

", "ungrouped_variables": ["out", "inp", "c", "b"], "rulesets": {}, "name": "Maria's copy of Domain of an exponential", "metadata": {"licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International", "description": "

Multiple choice question. Given a randomised polynomial select the possibe ways of writing the domain of the function.

"}, "functions": {}, "advice": "

a) The function $f(x)=e^x$ is an exponential function. Regardless of the value of $x$, the function $f$ will output a number. That is, the domain of $f$ is the set of all real numbers. We can write this as 

\n

\\[\\text{dom}(f)=\\mathbb{R}\\]

\n

or as the open interval

\n

\\[\\text{dom}(f)=(-\\infty,\\infty).\\]

\n

\n

b) The function $\\simplify{ {out}({inp}) = {c[0]}*{b}^({c[2]}{inp}+{c[3]})+{c[4]}} $ is also an exponential function. Regardless of the value of $\\simplify{{inp}}$, the function $\\simplify{{out}}$ will output a number. That is, the domain of $\\simplify{{out}}$ is the set of all real numbers. We can write this as 

\n

\\[\\text{dom}(\\simplify{{out}})=\\mathbb{R}\\]

\n

or as the open interval

\n

\\[\\text{dom}(\\simplify{{out}})=(-\\infty,\\infty).\\]

", "tags": [], "type": "question", "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}]}], "contributors": [{"name": "Ben Brawn", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/605/"}, {"name": "Maria Aneiros", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3388/"}]}