// Numbas version: exam_results_page_options {"name": "Luis's copy of How to enter algebraic fractions - Getting Started", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": ["algebraic input", "brackets", "checked2015", "input", "introduction", "mathematical expressions", "numbas", "Numbas", "ratios", "Ratios"], "statement": "
Ratios of Algebraic Expressions.
\nBy this we mean expressions of the form $\\displaystyle \\frac{p(x)}{q(x)}$ where $p(x)$ and $q(x)$ are algebraic expressions.
\nIf you want to input such an expression into the system you HAVE TO BE CAREFUL AND USE BRACKETS otherwise mistakes will occur.
\nOnce again, the box displaying your input in mathematical notation beside the input boxes in parts 2, 3 and 4 is very useful as it shows what the system thinks you have entered.
\nFor complicated expressions this is essential as you can check you have written what you really meant.
", "name": "Luis's copy of How to enter algebraic fractions - Getting Started", "extensions": [], "ungrouped_variables": ["a", "c", "b", "d"], "parts": [{"prompt": "Examples
\nSuppose we wanted to input the expression $\\displaystyle \\frac{\\var{a}+\\var{b}x}{\\var{c}+\\var{d}y}$ into the system.
\nWhich of the following input expressions are incorrect?
\n[[0]]
\nChoose the incorrect input(s): (You lose 3 marks if you choose the wrong one!)
\nIf you click on Submit part, then on Show feedback, you will be given more detail on your choices.
\nYou can click on Reveal at the top of the window to see solutions, but it's best to work these through yourself. Remember you can always redo the question by clicking on Try another question like this one at the bottom.
", "type": "gapfill", "marks": 0, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"displayType": "checkbox", "variableReplacements": [], "choices": ["({a}+{b}x)/({c}+{d}y)
{a}+{b}x/({c}+{d}y)
{a}+{b}x/{c}+{d}y
({a}+{b}x)/{c}+{d}y
Input the expression $\\displaystyle \\frac{\\var{b}+\\var{a}y}{\\var{d}+\\var{c}z}$ here: [[0]]
", "type": "gapfill", "marks": 0, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "variableReplacements": [], "showCorrectAnswer": true, "answer": "({b}+{a}y)/({d}+{c}z)", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "marks": 1, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "scripts": {}, "showpreview": true}], "variableReplacementStrategy": "originalfirst", "scripts": {}}, {"prompt": "Input the expression $\\displaystyle \\frac {\\var{d} z + \\var{b}} {(x + \\var{a}) (y + \\var{c})}$ here: [[0]]
", "type": "gapfill", "marks": 0, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "variableReplacements": [], "showCorrectAnswer": true, "answer": "({d} * z + {b}) / ((x + {a}) * (y + {c}))", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "marks": 1, "checkingtype": "absdiff", "checkingaccuracy": 0.001, "scripts": {}, "showpreview": true}], "variableReplacementStrategy": "originalfirst", "scripts": {}}, {"prompt": "Input the expression $\\displaystyle \\simplify[std]{({a} -(({b} * x + {c}) * e ^ (( -{2}) * x))) / ((x + {2 * b}) * (y -{3* d}))}$ here: [[0]]
", "type": "gapfill", "marks": 0, "variableReplacements": [], "showCorrectAnswer": true, "gaps": [{"checkvariablenames": false, "variableReplacements": [], "showCorrectAnswer": true, "answer": "({a} -(({b} * x + {c}) * e ^ (( -{2}) * x))) / ((x + {2 b}) * (y -{3* d}))", "vsetrange": [0, 1], "answersimplification": "std", "expectedvariablenames": [], "variableReplacementStrategy": "originalfirst", "vsetrangepoints": 5, "type": "jme", "marks": 1, "checkingtype": "absdiff", "checkingaccuracy": 0.0001, "scripts": {}, "showpreview": true}], "variableReplacementStrategy": "originalfirst", "scripts": {}}], "variables": {"d": {"description": "", "name": "d", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9 except [round(b*c/a),c])"}, "b": {"description": "", "name": "b", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(3..15#2)"}, "c": {"description": "", "name": "c", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..9)"}, "a": {"description": "", "name": "a", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(2..16#2)"}}, "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Inputting ratios of algebraic expressions.
"}, "preamble": {"css": "", "js": ""}, "rulesets": {"std": ["all", "!collectNumbers"]}, "advice": "a) The correct input is ({a}+{b}x)/({c}+{d}y)
- the rest are incorrect and you should have ticked those.
b) A correct input is ({b} + {a}y) / ({c} + {d}z)
. Also correct is ({a}y+{b}) / ({c} + {d}z)
etc.
c) A correct input is ({d}z + {b}) / ((x + {a})*(y + {c}))
.
Note the denominator (the bottom of the ratio) has to have two brackets, i.e. ((x + {a})*(y + {c}))
as otherwise the expression ({d}z + {b}) / (x + {a})*(y + {c})
is seen by the system as $\\displaystyle \\left(\\simplify[std]{({d} * z + {b}) / (x + {a})}\\right) (y + \\var{c})$
d) A correct input is ({a} -({b}x + {c})*e ^ ( -{2}x)) / ((x + {2*b})*(y -{3*d}))