// Numbas version: finer_feedback_settings {"name": "Julie's copy of Algebra: Expansion of two brackets (one linear)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "c", "b", "d", "a1", "b1", "c1"], "name": "Julie's copy of Algebra: Expansion of two brackets (one linear)", "tags": ["algebra", "Algebra", "algebraic manipulation", "expansion of brackets", "expansion of the product of two linear terms", "rebelmaths"], "preamble": {"css": "", "js": ""}, "advice": "\n
1. Using the method given by Show steps we have:
\n\\[\\simplify[std]{ {a}x*({c}x+{d})}=\\simplify[std]{{a*c}x^2+{a*d}x}\\]
\n2.
\n\\[\\simplify[std]{ ({a1}x+{b1})*({c1}x)}=\\simplify[std]{{a1*c1}x^2+{b1*c1}x}\\]
\n\n
\n ", "rulesets": {"std": ["all", "!noLeadingMinus", "!collectNumbers"]}, "parts": [{"stepsPenalty": 1, "prompt": "\n
$\\simplify[std]{({a}x)({c}x+{d})}=\\;$[[0]].
\n$\\simplify[std]{({a1}x+{b1})({c1}x)}=\\;$[[1]].
\nYour answers should be quadratics in $x$ and should not include any brackets.
\nYou can click on Show steps to get more information, but you will lose one mark if you do so.
\n ", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "steps": [{"prompt": "\\[ax(cx+d)=acx^2+adx\\]
", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "information"}], "gaps": [{"notallowed": {"message": "Do not include brackets in your answer. Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.
", "showStrings": false, "strings": ["("], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a*c}x^2+{a*d}x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "maxlength": {"length": 13, "message": "Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.
", "partialCredit": 0}}, {"notallowed": {"message": "Do not include brackets in your answer. Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.
", "showStrings": false, "strings": ["("], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "{a1*c1}*x^2+{b1*c1}*x", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme", "maxlength": {"length": 13, "message": "Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.
", "partialCredit": 0}}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "extensions": [], "statement": "Expand the following to give quadratics in $x$.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "c": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c", "description": ""}, "b": {"definition": "0", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "d": {"definition": "random(-9..9 except [0,c])", "templateType": "anything", "group": "Ungrouped variables", "name": "d", "description": ""}, "a1": {"definition": "random(-5..5 except [0,a])", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "b1": {"definition": "random(-9..9 except [0,c])", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "c1": {"definition": "random(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}}, "metadata": {"description": "Expansion of two brackets
\nrebelmaths
", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}]}], "contributors": [{"name": "Julie Crowley", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/113/"}]}