// Numbas version: exam_results_page_options {"name": "Functions", "metadata": {"description": "
Introductory function notions
\nThis assessment reviews some of the material covered in the first lecture session.
", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "duration": 0, "percentPass": 0, "showQuestionGroupNames": true, "showstudentname": true, "question_groups": [{"name": "Functions", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "questions": [{"name": "Functions: domain and range", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}], "tags": [], "metadata": {"description": "Determine the largest possible domain of a rational function.
", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "statement": "Consider the function \\[ f(x) = \\frac{\\var{a}}{(\\simplify{(x+{b})(x^2+{c})}} \\]
\n", "advice": "For this problem, the function will not be defined if the denominator is zero.
\na) So, $f(x)$ is not defined if $\\simplify{x+{b}}=0\\implies x=\\simplify{-{b}}$.
\nb) The largest possible domain is the set of real numbers $\\mathbb{R}$ excluding any numbers where $f$ is not defined. Therefore, the largest possible domain is
\n$\\mathbb{R}\\backslash \\{\\simplify{-{b}}\\}$.
", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..15)", "description": "Non-zero numbers
", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-15..15 except 0)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..10)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": true, "customName": "(a)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "State the value of $x$ for which $f(x)$ is NOT defined.
\n$x=$ [[0]]
\n", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "ansA", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "-{b}", "maxValue": "-{b}", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "1_n_2", "useCustomName": true, "customName": "(b)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The largest possible domain for $f$ is:
\n", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$\\mathbb{R}\\backslash\\{\\var{c}\\}$", "$\\mathbb{R}$", "$\\mathbb{R}\\backslash\\{\\simplify{-{b}}\\}$", "$\\{\\simplify{-{b}}\\}$"], "matrix": [0, 0, "1", 0], "distractors": ["Incorrect answer!", "Incorrect answer!", "", "Incorrect answer!"]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Odd or even", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}], "tags": [], "metadata": {"description": "Determine if a function is odd, even or neither.
", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "statement": "Determine whether each function is odd, even or neither.
", "advice": "Work out $f(-x)$ by replacing $x$ by $-x$ in the definition of $f$. If the result is the same as the original function then $f$ is even.
\nIf $f(-x)==f(x)$ then $f$ is odd. Otherwise, neither.
", "rulesets": {}, "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "", "templateType": "anything"}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "random(1..5)", "description": "", "templateType": "anything"}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "random(5..15)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a2", "b1", "b2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "(a)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$f(x)=\\simplify{{a1}} x^2+\\var{a2}$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Odd", "Even", "Neither"], "matrix": [0, "1", "0"], "distractors": ["", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(b)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$f(x)=\\simplify{{a2}}x^4-\\var{a1}x^2$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Odd", "Even", "Neither"], "matrix": [0, "1", "0"], "distractors": ["", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(c)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$f(x)=\\var{b1}x^3-x^2$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Odd", "Even", "Neither"], "matrix": [0, "0", "1"], "distractors": ["", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(d)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$f(x)=\\simplify{x^5-x^3 +{b2}x}$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Odd", "Even", "Neither"], "matrix": ["1", "0", "0"], "distractors": ["", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Interval notation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}], "tags": [], "metadata": {"description": "Determine the correct interval notation for various sets.
", "licence": "Creative Commons Attribution-NonCommercial-NoDerivs 4.0 International"}, "statement": "Use interval notation to represent each set shown below.
", "advice": "All numbers bigger than or equal to {a1}, so need square bracket at {a1} and open bracket at infinity.
", "rulesets": {}, "variables": {"a1": {"name": "a1", "group": "Ungrouped variables", "definition": "random(-10..11)", "description": "left interval end point
", "templateType": "anything"}, "a2": {"name": "a2", "group": "Ungrouped variables", "definition": "a1 + random(2..10)", "description": "Right interval end point
", "templateType": "anything"}, "b1": {"name": "b1", "group": "Ungrouped variables", "definition": "a1+random(2..12)", "description": "", "templateType": "anything"}, "b2": {"name": "b2", "group": "Ungrouped variables", "definition": "b1+random(1..9)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a1", "a2", "b1", "b2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "(a)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$\\var{a1} < x \\le \\var{b1}$?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$[\\var{a1},\\var{b1})$", "$(\\var{a1}, \\var{b1}]$", "$[\\var{a1}, \\infty)$", "$(-\\infty,\\var{b1}]$"], "matrix": [0, "1", 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(b)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$\\var{b1}\\le x \\le \\var{b2}$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$[\\var{b1}, \\var{b2}]$", "$(\\var{b1}, \\var{b2}]$", "$(-\\infty, \\var{b2}]$", "$(\\var{b1}, \\infty)$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(c)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$\\var{a1} < x < \\var{a2}$
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$[\\var{a1}, \\var{a2}]$", "$(\\var{a1}, \\var{a2}]$", "$(\\var{a1}, \\var{a2})$", "$(\\var{a1}, \\infty)$"], "matrix": ["0", 0, "1", 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "(d)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$\\var{a1} \\le x $
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["$(\\var{a1}, \\infty)$", " $[\\var{a1}, \\infty)$", "$(-\\infty, \\var{a1}]$", "$(\\var{a1}, \\var{a1})$"], "matrix": ["0", "1", "0", 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "oncompletion", "navigatemode": "sequence", "onleave": {"action": "warnifunattempted", "message": "You must attempt all questions to complete this assessment.
"}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "contributors": [{"name": "Wan Mekwi", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/4058/"}], "extensions": [], "custom_part_types": [], "resources": []}