// Numbas version: exam_results_page_options {"name": "Task A", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Task A", "tags": [], "metadata": {"description": "
For ENG1002 - Matlab Lab 4: Differentiation, Integration, Solving Differentiation equations.
", "licence": "All rights reserved"}, "statement": "\n
Task A: Use diff to do the following differentiation. Please choose the correct matlab command(s) for each question. [3 marks]
\n", "advice": "", "rulesets": {}, "extensions": [], "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "m_n_2", "useCustomName": true, "customName": "Question 1", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "$f = sin(2x) + x$, work out $\\frac{df}{dx}$ [1 mark]
", "minMarks": "0", "maxMarks": "1", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": "1", "minAnswers": "1", "maxAnswers": "3", "warningType": "none", "showCellAnswerState": true, "choices": ["A) f=sin(2*x)+x;
diff(f)
B) syms x
f=sin(2*x)+x;
diff(f)
C) syms x
diff(sin(2*x)+x)
2) $g = e^{3u} + ucos(u)$, work out $\\frac{dg}{du}$ [1 mark]
", "minMarks": 0, "maxMarks": "1", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": "1", "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "choices": ["A) syms xB) syms x
g=exp(3*x)+x*cos(x);
diff(g)
3) $h = ln(t) + \\frac{5}{t}$, work out $\\frac{dh}{dt}$ [1 mark]
", "minMarks": 0, "maxMarks": "1", "shuffleChoices": false, "displayType": "checkbox", "displayColumns": "1", "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "choices": ["A) syms xC) syms t
h=log(t)+5/t
diff(h)