// Numbas version: exam_results_page_options {"name": "Algebra. Function notation versus multiplication", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Algebra. Function notation versus multiplication", "tags": [], "metadata": {"description": "

Questions which try to emphasise that f(x) does not mean f times x.

", "licence": "None specified"}, "statement": "", "advice": "

See ??

", "rulesets": {}, "extensions": [], "variables": {"c": {"name": "c", "group": "Ungrouped variables", "definition": "shuffle([\"h(s+t)\",\n \"r*(s+t)\"]) +\n random([\"cos(s+t)\", \"3*sin(s+t)\"]) +\n random([\"h(r)*cos(s+t)\", \"sin(s+t)*cos(s+t)\"])", "description": "

old version

\n

shuffle([\"h(s+t)\",
\"r*(s+t)\",
\"h(s)\",
\"h(s*t)\",
\"5*h(t)\",
\"cos(s+t)\",
\"3*sin(s+t)\",
\"h(r)*cos(s+t)\",
\"sin(s+t)*cos(s+t)\"])

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$f$ is a function. Which of the following correspond to $f(x)$.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": "1", "minAnswers": "2", "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "choices": ["$f$ of $x$", "The output of $f$ when you input $x$", "$f$ multiplied by $x$", "$f \\times x$"], "matrix": ["0.5", "0.5", "-1", "-1"], "distractors": ["", "", "", ""]}, {"type": "m_n_2", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$g$ is a function. $a,b$ and $c$ are numbers. Which of the following are always true?  Take your time and check each statement carefully. Refer to notes/lectures to prevent making silly mistakes. A single error will result in a score of zero.

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "checkbox", "displayColumns": "1", "minAnswers": "4", "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "choices": ["$a(b+c) = ab+ac$", "$a \\times g(b) = g(b) \\times a$", "$\\frac{a+b}{c} = \\frac{a}{c}+\\frac{b}{c}$", "$6 ( g(b) + c) = 6 g(b) + 6c$", "$g(a+b) =  g(a)+g(b)$", "$g(a+b) = g \\times (a+b)$", "$a \\times g(b) = g(a \\times b)$", "$\\sin(c+b) = \\sin(c) + \\sin(b)$", "$\\frac{a}{b+c} = \\frac{a}{b}+\\frac{a}{c}$"], "matrix": ["0.5", "0.5", "0.5", "0.5", "-2", "-2", "-2", "-2", "-2"], "distractors": ["", "", "", "", "", "", "", "", ""]}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$h$ is a function and $s,t$ and $r$ are numbers. In the following, re-write the expressions making explicit any multiplication that is occuring.

\n

Use a * to indicate multiplication. For this question, you need to write everything in exactly the same order to get the marks (e.g. `s+t' is NOT considered the same as `t+s' in this question).

\n

$\\simplify{{expression(c[0])}}=$ [[0]]

\n

$\\simplify{{expression(c[1])}}=$ [[1]]

\n

$\\simplify{{expression(c[2])}}=$ [[2]]

\n

$\\simplify{{expression(c[3])}}=$ [[3]]

", "gaps": [{"type": "patternmatch", "useCustomName": false, "customName": "", "marks": "0.25", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{c[0]}", "displayAnswer": "{c[0]}", "matchMode": "exact"}, {"type": "patternmatch", "useCustomName": false, "customName": "", "marks": "0.25", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{c[1]}", "displayAnswer": "{c[1]}", "matchMode": "exact"}, {"type": "patternmatch", "useCustomName": false, "customName": "", "marks": "0.25", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{c[2]}", "displayAnswer": "{c[2]}", "matchMode": "exact"}, {"type": "patternmatch", "useCustomName": false, "customName": "", "marks": "0.25", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "answer": "{c[3]}", "displayAnswer": "{c[3]}", "matchMode": "exact"}], "sortAnswers": false}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}]}], "contributors": [{"name": "Lovkush Agarwal", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1358/"}]}