// Numbas version: exam_results_page_options {"name": "Differentiation 4 - Trigonometric Functions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "ungrouped_variables": ["d", "c"], "advice": "

The differentiation sequence to remember is as follows.

\n

\\[\\sin(x)\\rightarrow\\cos(x)\\rightarrow-\\sin(x)\\rightarrow-\\cos(x)\\]

\n

\n

If you would like to understand the proof, it can be found here.

\n

\n

The derivative of $\\tan(x)$ is $\\sec^2(x)$.

\n

The proof is here.

", "metadata": {"description": "

Differentiation of trigonometric functions

", "licence": "Creative Commons Attribution 4.0 International"}, "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "parts": [{"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "

$y=\\var{c[0]}\\sin(x)$

\n

$\\frac{dy}{dx}=$ [[0]]

", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "1", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "{c[0]}cos(x)", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}, {"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "

$y=\\var{d[0]}\\cos(x)$

\n

$\\frac{dy}{dx}=$ [[0]]

", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "1", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "-{d[0]}sin(x)", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}, {"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "

$y=-\\sin(x)+\\var{d[2]}x^2$

\n

$\\frac{dy}{dx}=$ [[0]]

", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "1", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "-cos(x)+2{d[2]}*x", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}, {"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "

$y=\\var{d[1]}\\sin(x)-\\var{c[1]}\\cos(x)$

\n

$\\frac{dy}{dx}=$ [[0]]

", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "1", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "x"}], "customName": "", "answer": "{d[1]}cos(x)+{c[1]}sin(x)", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}, {"customName": "", "sortAnswers": false, "variableReplacementStrategy": "originalfirst", "type": "gapfill", "customMarkingAlgorithm": "", "scripts": {}, "showFeedbackIcon": true, "useCustomName": false, "variableReplacements": [], "prompt": "

$y=\\var{c[2]}\\tan(x)$

\n

$\\frac{dy}{dx}=$ [[0]]

", "unitTests": [], "gaps": [{"variableReplacementStrategy": "originalfirst", "checkingType": "absdiff", "customMarkingAlgorithm": "", "type": "jme", "showFeedbackIcon": true, "useCustomName": false, "checkingAccuracy": 0.001, "vsetRangePoints": 5, "showCorrectAnswer": true, "marks": "1", "checkVariableNames": false, "valuegenerators": [{"value": "", "name": "sec"}, {"value": "", "name": "x"}], "customName": "", "answer": "{c[2]}sec^2(x)", "showPreview": true, "scripts": {}, "variableReplacements": [], "unitTests": [], "vsetRange": [0, 1], "extendBaseMarkingAlgorithm": true, "failureRate": 1, "answerSimplification": "all"}], "showCorrectAnswer": true, "marks": 0, "extendBaseMarkingAlgorithm": true}], "tags": [], "statement": "

Differentiate the following trigonometric functions.

\n

Do not write out $dy/dx$; only input the differentiated right hand side of each equation.

\n

Remember to bracket the argument of the trigonometric functions, for example, write $\\sin$$x$ as $\\sin(x)$.

", "variables": {"c": {"templateType": "anything", "description": "

extra coeff's added

", "group": "Ungrouped variables", "definition": "repeat(random(-5..5 except 0 except 1 except -1),3)", "name": "c"}, "d": {"templateType": "anything", "description": "", "group": "Ungrouped variables", "definition": "repeat(random(2..9),8)", "name": "d"}}, "rulesets": {}, "functions": {}, "extensions": [], "name": "Differentiation 4 - Trigonometric Functions", "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}]}], "contributors": [{"name": "Katie Lester", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/586/"}, {"name": "Xiaodan Leng", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2146/"}]}