// Numbas version: finer_feedback_settings {"name": "Luis's copy of Oracle function estimation", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"parts": [{"gaps": [{"correctAnswerStyle": "plain", "mustBeReduced": false, "maxValue": "a", "scripts": {}, "variableReplacements": [], "mustBeReducedPC": 0, "allowFractions": false, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "minValue": "a", "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "unitTests": []}, {"correctAnswerStyle": "plain", "mustBeReduced": false, "maxValue": "b", "scripts": {}, "variableReplacements": [], "mustBeReducedPC": 0, "allowFractions": false, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "minValue": "b", "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "unitTests": []}, {"correctAnswerStyle": "plain", "mustBeReduced": false, "maxValue": "c", "scripts": {}, "variableReplacements": [], "mustBeReducedPC": 0, "allowFractions": false, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "minValue": "c", "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "unitTests": []}, {"correctAnswerStyle": "plain", "mustBeReduced": false, "maxValue": "d", "scripts": {}, "variableReplacements": [], "mustBeReducedPC": 0, "allowFractions": false, "type": "numberentry", "notationStyles": ["plain", "en", "si-en"], "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "marks": 1, "minValue": "d", "correctAnswerFraction": false, "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "unitTests": []}], "scripts": {}, "sortAnswers": false, "variableReplacements": [], "type": "gapfill", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "marks": 0, "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]]

", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "customMarkingAlgorithm": "", "unitTests": []}], "preamble": {"css": "", "js": ""}, "variable_groups": [], "name": "Luis's copy of Oracle function estimation", "rulesets": {}, "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. Le diré el valor de la función en cualquier lugar que solicite, con tres decimales. Puedes usar el cuadro de abajo para informarme. (Es posible que deba esperar un poco para que se cargue).
  4. \n
\n

{geogebra_applet ('ufgKrAzb', defs)}

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