// Numbas version: exam_results_page_options {"name": "ecuacion cuadratica 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "

Solving quadratic equations using a formula,

"}, "functions": {}, "variables": {"b1": {"definition": "random(16..25#1)", "description": "", "name": "b1", "templateType": "randrange", "group": "Ungrouped variables"}, "a1": {"definition": "random(1..6#1)", "description": "", "name": "a1", "templateType": "randrange", "group": "Ungrouped variables"}, "c1": {"definition": "random(1..10#1)", "description": "", "name": "c1", "templateType": "randrange", "group": "Ungrouped variables"}}, "variable_groups": [], "rulesets": {}, "name": "ecuacion cuadratica 2", "advice": "

La fórmula para resolver una ecuación cuadrática de la forma  \\(ax^2+bx+c=0\\)  está dada por

\n

\\(x=\\dfrac{-b\\pm \\sqrt{b^2-4ac}}{2a}\\)

\n

En este ejemplo,  \\(a=\\var{a1},\\,\\,\\,b=\\var{b1}\\)  y  \\(c=\\var{c1}\\)

\n

\\(x=\\dfrac{-\\var{b1}\\pm \\sqrt{\\var{b1}^2-4\\times\\var{a1}\\times\\var{c1}}}{2\\times\\var{a1}}\\)

\n

\\(x=\\dfrac{-\\var{b1}\\pm \\sqrt{\\simplify{{b1}^2-4*{a1}*{c1}}}}{\\simplify{2*{a1}}}\\)

\n

\\(x=\\simplify{(-{b1}+ ({b1}^2-4*{a1}*{c1})^0.5)/(2*{a1})}\\)   o bien   \\(x=\\simplify{(-{b1}- ({b1}^2-4*{a1}*{c1})^0.5)/(2*{a1})}\\)

", "variablesTest": {"maxRuns": "1", "condition": "b1^2>4*a1*c1"}, "statement": "

Existen dos valores que satisfacen la ecuación cuadrática:

\n

\\(\\var{a1}x^2+\\var{b1}x+\\var{c1}=0\\)

", "tags": [], "ungrouped_variables": ["a1", "b1", "c1"], "parts": [{"prompt": "

Ingrese el mayor de los valores que satisfacen la ecuación cuadrática. Ingrese su respuesta con tres decimales.

\n

\\(x\\) = [[0]]

\n

Ingrese el menor de los valores que satisfacen la ecuación cuadrática. Ingrese su respuesta con tres decimales.

\n

\\(x\\) = [[1]]

", "showFeedbackIcon": true, "gaps": [{"type": "numberentry", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerFraction": false, "minValue": "-{b1}/(2*{a1})+sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "showCorrectAnswer": true, "maxValue": "-{b1}/(2*{a1})+sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "showPrecisionHint": false, "variableReplacements": [], "precision": "3", "correctAnswerStyle": "plain", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "strictPrecision": false, "marks": 1, "precisionPartialCredit": 0, "allowFractions": false, "scripts": {}, "precisionType": "dp"}, {"type": "numberentry", "showFeedbackIcon": true, "variableReplacementStrategy": "originalfirst", "mustBeReducedPC": 0, "precisionMessage": "You have not given your answer to the correct precision.", "correctAnswerFraction": false, "minValue": "-{b1}/(2*{a1})-sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "showCorrectAnswer": true, "maxValue": "-{b1}/(2*{a1})-sqrt({b1}^2-4*{a1}*{c1})/(2*{a1})", "showPrecisionHint": false, "variableReplacements": [], "precision": "3", "correctAnswerStyle": "plain", "mustBeReduced": false, "notationStyles": ["plain", "en", "si-en"], "strictPrecision": false, "marks": 1, "precisionPartialCredit": 0, "allowFractions": false, "scripts": {}, "precisionType": "dp"}], "variableReplacementStrategy": "originalfirst", "type": "gapfill", "showCorrectAnswer": true, "marks": 0, "scripts": {}, "variableReplacements": []}], "extensions": [], "preamble": {"js": "", "css": ""}, "type": "question", "contributors": [{"name": "Ricardo Monge", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/471/"}]}]}], "contributors": [{"name": "Ricardo Monge", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/471/"}]}