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

Shows how to define variables to stop degenerate examples.

"}, "functions": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "tags": [], "preamble": {"js": "", "css": ""}, "variable_groups": [{"name": "Unnamed group", "variables": []}], "statement": "

El dinero de dos personas está en la razón de $\\simplify{{a}}:\\simplify{{b}}$, si una de ellas tiene \\,\\,\\\\simplify{{(a-b)*(d^n)}}\\,\\, más que la otra. ¿Cuánto dinero tiene cada persona?. \n ", "name": "Razones", "ungrouped_variables": ["a", "b", "d", "n", "c"], "advice": " Sea: \n \n \\begin{align} \\simplify[std]{x+{c}}&: \\text{La cantidad mayor de dinero.}\\\\\\\\\\simplify[std]{x}&: \\text{La cantidad menor de dinero.} \\end{align} \n Del enunciado podemos plantear la siguiente ecuación: \n \\begin{align} \\simplify[std]{(x+{c})/x}=\\simplify[std]{{a/b}} \\end{align} \n Ahora resolvemos la ecuación: \n \\begin{align} \\simplify[std]{{b}(x+{c})}=\\simplify[std]{x*{a}}\\\\\\\\\\simplify{{b}*x+{c*b}}=\\simplify{x*{a}}\\\\\\\\\\simplify{x}=\\simplify{{(c*b)/(a-b)}} \\end{align} \n La cantidad mayor de dinero es de: \\,\\\\simplify{{c+(c*b)/(a-b)}}$\n La cantidad menor de dinero es de:$\\,\\$$\\simplify{{(c*b)/(a-b)}} \n ", "variables": {"a": {"name": "a", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(8,11,13,16,17)"}, "n": {"name": "n", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(3,4)"}, "b": {"name": "b", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(3,5,7)"}, "d": {"name": "d", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "random(6,7,8,9)"}, "c": {"name": "c", "group": "Ungrouped variables", "templateType": "anything", "description": "", "definition": "(a-b)*(d^n)"}}, "rulesets": {"std": ["All", "fractionnumbers"]}, "parts": [{"scripts": {}, "showCorrectAnswer": true, "prompt": " \n Persona con mayor dinero: \\,\\,\\$$  [[0]]    Persona con menor dinero: $\\,\\,\\$\$ [[1]]

\n

\n

", "showFeedbackIcon": true, "marks": 0, "type": "gapfill", "variableReplacementStrategy": "originalfirst", "variableReplacements": [], "gaps": [{"showFeedbackIcon": true, "showpreview": true, "answer": "{c+(c*b)/(a-b)}", "vsetrange": [0, 1], "answersimplification": "Std", "checkingtype": "absdiff", "checkingaccuracy": 0.001, "scripts": {}, "showCorrectAnswer": true, "expectedvariablenames": [], "marks": 1, "vsetrangepoints": 5, "type": "jme", "checkvariablenames": false, "variableReplacementStrategy": "originalfirst", "notallowed": {"showStrings": false, "message": "