// Numbas version: finer_feedback_settings {"name": "Oracle function estimation", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "statement": "

Estoy pensando en una función, ¡pero no te diré lo que es! Pero:

\n
    \n
  1. Es al menos dos veces diferenciable.
  2. \n
  3. \n
\n

", "parts": [{"scripts": {}, "marks": 0, "showCorrectAnswer": true, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "sortAnswers": false, "type": "gapfill", "unitTests": [], "gaps": [{"scripts": {}, "maxValue": "a", "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "correctAnswerStyle": "plain", "unitTests": [], "minValue": "a", "allowFractions": false, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0}, {"scripts": {}, "maxValue": "b", "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "correctAnswerStyle": "plain", "unitTests": [], "minValue": "b", "allowFractions": false, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0}, {"scripts": {}, "maxValue": "c", "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "correctAnswerStyle": "plain", "unitTests": [], "minValue": "c", "allowFractions": false, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0}, {"scripts": {}, "maxValue": "d", "marks": 1, "showCorrectAnswer": true, "variableReplacements": [], "extendBaseMarkingAlgorithm": true, "correctAnswerFraction": false, "mustBeReduced": false, "type": "numberentry", "correctAnswerStyle": "plain", "unitTests": [], "minValue": "d", "allowFractions": false, "showFeedbackIcon": true, "notationStyles": ["plain", "en", "si-en"], "customMarkingAlgorithm": "", "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0}], "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "prompt": "

Suppose I reveal that the function is a cubic, so that $f(x) = a x^3 + b x^2 + c x + d$. I will also tell you that $\\{a,b,c,d\\} \\subset \\mathbb{Z}$. Calculate the parameters $a$ to $d$.

\n

$a = $ [[0]]

\n

$b = $ [[1]]

\n

$c = $ [[2]]

\n

$d = $ [[3]]

"}], "rulesets": {}, "advice": "", "variables": {"d": {"templateType": "anything", "name": "d", "description": "", "group": "Ungrouped variables", "definition": "random(-3..3)"}, "x_0": {"templateType": "anything", "name": "x_0", "description": "", "group": "Ungrouped variables", "definition": "random(-50 .. 50 except 0)/10"}, "c": {"templateType": "randrange", "name": "c", "description": "", "group": "Ungrouped variables", "definition": "random(-3..3#1)"}, "b": {"templateType": "anything", "name": "b", "description": "", "group": "Ungrouped variables", "definition": "random(-3..3)"}, "df": {"templateType": "anything", "name": "df", "description": "", "group": "Ungrouped variables", "definition": "3*a*x_0^2+2*b*x_0+c"}, "defs": {"templateType": "anything", "name": "defs", "description": "", "group": "Ungrouped variables", "definition": "[\n ['a',a],\n ['b',b],\n ['c',c],\n ['d',d]\n]"}, "ddf": {"templateType": "anything", "name": "ddf", "description": "", "group": "Ungrouped variables", "definition": "6*a*x_0+2*b"}, "a": {"templateType": "anything", "name": "a", "description": "", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)"}}, "extensions": ["geogebra"], "functions": {}, "variablesTest": {"maxRuns": 100, "condition": ""}, "tags": [], "metadata": {"description": "

Given an oracle function that will output its value given an input: first estimate the derivative, and second calculate its shape.

", "licence": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International"}, "name": "Oracle function estimation", "ungrouped_variables": ["a", "b", "defs", "c", "d", "x_0", "df", "ddf"], "preamble": {"js": "", "css": ""}, "type": "question", "contributors": [{"name": "Philip Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/362/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}]}], "contributors": [{"name": "Philip Walker", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/362/"}, {"name": "Luis Hernandez", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2870/"}]}