// Numbas version: exam_results_page_options {"name": "Tangent line approximation", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Tangent line approximation", "tags": [], "metadata": {"description": "Use the tangent to get a linear approximation.
", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "statement": "", "advice": "

a) The derivative of \\[ f(x) = \\sqrt[\\var{n}]{x}  = x^{\\frac{1} {\\var{n}}} \\] is given by
\\[ f'(x) = \\frac{\\mathrm{d}}{\\mathrm{d}x}(x^{\\frac{1} {\\var{n}}}) = {\\frac{1} {\\var{n}}} \\cdot x^{\\frac{\\var{1-n}} {\\var{n}}}  .\\]

\n

The equation of the tangent to the graph of \\( f \\) at \\( ( a, f(a)) \\) is obtained by
\\[ y - f(a) = f'(a) \\cdot (x-a) \\]

\n

For \\( a = \\var{a} \\) , this means
\\[ y - \\var{m} = \\frac{1} {\\var{ricoN}} \\cdot \\left( x-\\var{a} \\right) \\]
or equivalently
\\[ y = \\var{m} + \\frac{1} {\\var{ricoN}} \\cdot \\left( x-\\var{a} \\right)  = \\frac{1} {\\var{ricoN}} \\cdot x +  \\frac {\\var{m*(n-1)}} {\\var{n}}\\]

\n

\n

b) The linear approximation of  \\( f(a+\\var{eps}) \\) is given by
\\[ f(a) + f'(a) \\cdot \\var{eps} \\]
When \\( a = \\var{a} \\)  this leads to
\\[ \\var{rklben} \\]
which needs to be rounded up to  \\( \\var{p+3} \\) decimals.

", "rulesets": {}, "extensions": [], "variables": {"rklcN": {"name": "rklcN", "group": "Ungrouped variables", "definition": "n", "description": "

cst rklvgl noemer

", "templateType": "anything"}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "random(2..10)", "description": "

grondtal in a = m^n

", "templateType": "anything"}, "ricoN": {"name": "ricoN", "group": "Ungrouped variables", "definition": "(n*m^(n-1))", "description": "", "templateType": "anything"}, "rklbenadering": {"name": "rklbenadering", "group": "Ungrouped variables", "definition": "m+eps/(n*m^(n-1))", "description": "", "templateType": "anything"}, "rklcT": {"name": "rklcT", "group": "Ungrouped variables", "definition": "m*(n-1)", "description": "

teller constante rklvgl

", "templateType": "anything"}, "p": {"name": "p", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "

decimaal om bij a op te tellen

", "templateType": "anything"}, "eps": {"name": "eps", "group": "Ungrouped variables", "definition": "10^(-p)", "description": "

eps

", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "m^n", "description": "

getal a

", "templateType": "anything"}, "n": {"name": "n", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "

exponent in a = m^n

", "templateType": "anything"}, "rklben": {"name": "rklben", "group": "Ungrouped variables", "definition": "dpformat(m+eps/(n*m^(n-1)),12)", "description": "

rklben

", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["m", "n", "a", "p", "eps", "ricoN", "rklcT", "rklcN", "rklbenadering", "rklben"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Consider the function \\( f: \\mathbb{R}^+  \\to  \\mathbb{R} : x \\mapsto  \\sqrt[\\var{n}]{x}  \\, \\, . \\)

"}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Write an equation of the tangent line to the graph of  \\( f \\) at the point \\( ( a, f(a)) \\) if \\( a = \\var{a} \\).

\n

Do this in the form \\(  y = number1 \\cdot x+number2 \\). Use fractions, but no decimals.

\n

\\( y = \\) [[0]]  \\( \\cdot x+ \\)  [[1]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "1/{ricoN}", "maxValue": "1/{ricoN}", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "rklcT/rklcN", "maxValue": "rklcT/rklcN", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Approximate  \\( f(\\var{a+eps}) \\) up to \\( \\var{p+3} \\) decimals using this tangent line:

\n

 \\( f(\\var{a+eps}) \\)  approximately equals   [[0]]

\n

", "gaps": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "rklbenadering", "maxValue": "rklbenadering", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "p+3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "contributors": [{"name": "Paul Verheyen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3610/"}]}]}], "contributors": [{"name": "Paul Verheyen", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3610/"}]}