// Numbas version: exam_results_page_options {"name": "Pascal's copy of Differentiation of Basic Polynomial Expressions (with second derivatives)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"ungrouped_variables": ["ac", "bc", "cc", "dc", "ec", "fc", "ap", "bp", "cp", "dp"], "extensions": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "functions": {}, "variables": {"ec": {"name": "ec", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-30..30),4)"}, "ap": {"name": "ap", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "5"}, "ac": {"name": "ac", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-3..3),4)"}, "dp": {"name": "dp", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "2"}, "cc": {"name": "cc", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-10..10 except 0 except 1 except -1),4)"}, "dc": {"name": "dc", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-15..15),4)"}, "bc": {"name": "bc", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-6..6),4)"}, "fc": {"name": "fc", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "repeat(random(-50..50),4)"}, "cp": {"name": "cp", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "3"}, "bp": {"name": "bp", "templateType": "anything", "group": "Ungrouped variables", "description": "", "definition": "4"}}, "rulesets": {}, "advice": "

If $y=ax^n$,

\n

$\\frac{dy}{dx}=anx^{n-1}$ for all rational $n$.

\n

We'll take one of the terms from Part a as an example:

\n

$\\var{cc[0]}x^\\var{cp}$

\n

All we have to do to terms where $x$ is to a power of anything is times the coefficient of $x$ by the original power, and then take one away from the original power.

\n

If you are not familiar with this kind of work, these instructions may sound confusing, but it is much easier once you have seen it in practice.

\n

We take

\n

$\\var{cc[0]}x^\\var{cp}$

\n

and times $\\var{cc[0]}$ by $\\var{cp}$, to get

\n

$(\\var{cc[0]}*\\var{cp})x^\\var{cp}=\\simplify{{cc[0]}*{cp}x^{cp}}$.

\n

We then subtract one from the original power, $\\var{cp}$.

\n

This gives us the final answer of

\n

$\\simplify{{cc[0]}*{cp}x^{cp-1}}$.

\n

\n

Remember, don't be confused if there is no coefficient. The fact the term is there means the coefficient must be $1$, but we don't tend to write it out as, for example $1x$, we just say $x$.

", "variable_groups": [], "preamble": {"js": "", "css": ""}, "tags": [], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

A basic introduction to differentiation

"}, "statement": "

Differentiate the following polynomials.

\n

Note: some questions may not include all the possible terms.

", "name": "Pascal's copy of Differentiation of Basic Polynomial Expressions (with second derivatives)", "parts": [{"prompt": "

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[0]}x^5+{bc[0]}x^4+{cc[0]}x^3+{dc[0]}x^2+{ec[0]}x+{fc[0]}}$

\n

$f'(x)=$[[0]]$x^4+$[[1]]$x^3+$[[2]]$x^2+$[[3]]$x+$[[4]]

\n

$f''(x)=$[[5]]$x^3+$[[6]]$x^2+$[[7]]$x+$[[8]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "gaps": [{"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "maxValue": "{ac[0]}*{ap}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{ac[0]}*{ap}", "scripts": {}, "variableReplacements": [], "marks": "0.3", "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "maxValue": "{bc[0]}*{bp}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{bc[0]}*{bp}", "scripts": {}, "variableReplacements": [], "marks": "0.3", "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "maxValue": "{cc[0]}*{cp}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{cc[0]}*{cp}", "scripts": {}, "variableReplacements": [], "marks": "0.2", "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "maxValue": "{dc[0]}*{dp}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{dc[0]}*{dp}", "scripts": {}, "variableReplacements": [], "marks": "0.2", "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "showFeedbackIcon": true, "maxValue": "{ec[0]}", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "minValue": "{ec[0]}", "scripts": {}, "variableReplacements": [], "marks": "0.2", "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "integerAnswer": true, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{ac[0]}*5*4", "showCorrectAnswer": true, "minValue": "{ac[0]}*5*4", "scripts": {}, "integerPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "marks": "0.2", "showFeedbackIcon": true, "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "integerAnswer": true, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{bc[0]}*4*3", "showCorrectAnswer": true, "minValue": "{bc[0]}*4*3", "scripts": {}, "integerPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "marks": "0.2", "showFeedbackIcon": true, "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "integerAnswer": true, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{cc[0]}*3*2", "showCorrectAnswer": true, "minValue": "{cc[0]}*3*2", "scripts": {}, "integerPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "marks": "0.2", "showFeedbackIcon": true, "allowFractions": false}, {"variableReplacementStrategy": "originalfirst", "integerAnswer": true, "correctAnswerFraction": false, "type": "numberentry", "correctAnswerStyle": "plain", "variableReplacements": [], "maxValue": "{dc[0]}*2", "showCorrectAnswer": true, "minValue": "{dc[0]}*2", "scripts": {}, "integerPartialCredit": 0, "notationStyles": ["plain", "en", "si-en"], "marks": "0.2", "showFeedbackIcon": true, "allowFractions": false}], "scripts": {}, "showFeedbackIcon": true}, {"prompt": "

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[1]}x^{ap}+{bc[1]}x^{bp}+{cc[1]}x^{cp}+{dc[1]}x^{dp}+{ec[1]}x+{fc[1]}}$

\n

$f'(x)=$ [[0]]

\n

$f''(x)=$ [[1]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "gaps": [{"answer": "{ac[1]}*{ap}*x^{ap-1}+{bc[1]}*{bp}*x^{bp-1}+{cc[1]}*{cp}*x^{cp-1}+{dc[1]}*{dp}*x^{dp-1}+{ec[1]}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}, {"answer": "{ac[1]}*{ap}*4*x^{ap-2}+{bc[1]}*{bp}*3*x^{bp-2}+{cc[1]}*{cp}*2*x^{cp-2}+{dc[1]}*{dp}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}], "scripts": {}, "showFeedbackIcon": true}, {"prompt": "

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[2]}x^{ap}+{bc[2]}x^{bp}+{cc[2]}x^{cp}+{dc[2]}x^{dp}+{ec[2]}x+{fc[2]}}$

\n

$f'(x)=$ [[0]]

\n

$f''(x)=$ [[1]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "gaps": [{"answer": "{ac[2]}*{ap}*x^{ap-1}+{bc[2]}*{bp}*x^{bp-1}+{cc[2]}*{cp}*x^{cp-1}+{dc[2]}*{dp}*x^{dp-1}+{ec[2]}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}, {"answer": "{ac[2]}*{ap}*4*x^{ap-2}+{bc[2]}*{bp}*3*x^{bp-2}+{cc[2]}*{cp}*2*x^{cp-2}+{dc[2]}*{dp}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}], "scripts": {}, "showFeedbackIcon": true}, {"prompt": "

$\\simplify[basic,zeroterm,zerofactor,unitfactor]{{ac[3]}x^{ap}+{bc[3]}x^{bp}+{cc[3]}x^{cp}+{dc[3]}x^{dp}+{ec[3]}x+{fc[3]}}$

\n

$f'(x)=$ [[0]]

\n

$f''(x)=$ [[1]]

", "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "variableReplacements": [], "marks": 0, "gaps": [{"answer": "{ac[3]}*{ap}*x^{ap-1}+{bc[3]}*{bp}*x^{bp-1}+{cc[3]}*{cp}*x^{cp-1}+{dc[3]}*{dp}*x^{dp-1}+{ec[3]}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}, {"answer": "{ac[3]}*{ap}*4*x^{ap-2}+{bc[3]}*{bp}*3*x^{bp-2}+{cc[3]}*{cp}*2*x^{cp-2}+{dc[3]}*{dp}", "variableReplacementStrategy": "originalfirst", "answersimplification": "all", "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "expectedvariablenames": [], "vsetrangepoints": 5, "checkvariablenames": false, "vsetrange": [0, 1], "showCorrectAnswer": true, "marks": "1", "checkingtype": "absdiff", "showFeedbackIcon": true, "scripts": {}}], "scripts": {}, "showFeedbackIcon": true}], "type": "question", "contributors": [{"name": "Pascal Philipp", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1569/"}]}]}], "contributors": [{"name": "Pascal Philipp", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/1569/"}]}