// Numbas version: exam_results_page_options {"name": "Expansion of two brackets: Linear 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "name": "Expansion of two brackets: Linear 1", "tags": ["algebra", "algebraic manipulation", "expansion of brackets", "expansion of the product of two linear terms"], "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}\\]

\n

2.

\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.0, "prompt": "\n

$\\simplify[std]{({a}x)({c}x+{d})}=\\;$[[0]].

\n

$\\simplify[std]{({a1}x+{b1})({c1}x)}=\\;$[[1]].

\n

Your answers should be quadratics in $x$ and should not include any brackets.

\n

You can click on Show steps to get more information, but you will lose one mark if you do so.

\n ", "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.0}, "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 1.0, "answer": "{a*c}x^2+{a*d}x", "type": "jme", "maxlength": {"length": 13.0, "message": "

Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.

", "partialcredit": 0.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.0}, "checkingaccuracy": 0.001, "vsetrange": [0.0, 1.0], "vsetrangepoints": 5.0, "checkingtype": "absdiff", "answersimplification": "std", "marks": 1.0, "answer": "{a1*c1}*x^2+{b1*c1}*x", "type": "jme", "maxlength": {"length": 13.0, "message": "

Input your answer as a quadratic in $x$, in the form $ax^2+bx+c$ for appropriate integers $a,\\;b,\\;c$.

", "partialcredit": 0.0}}], "steps": [{"prompt": "

\\[ax(cx+d)=acx^2+adx\\]

", "type": "information", "marks": 0.0}], "marks": 0.0, "type": "gapfill"}], "extensions": [], "statement": "

Expand the following to give quadratics in $x$.

", "variable_groups": [], "progress": "ready", "type": "question", "variables": {"a": {"definition": "random(-5..5 except 0)", "name": "a"}, "c": {"definition": "random(-5..5 except 0)", "name": "c"}, "b": {"definition": 0.0, "name": "b"}, "d": {"definition": "random(-9..9 except [0,c])", "name": "d"}, "a1": {"definition": "random(-5..5 except [0,a])", "name": "a1"}, "b1": {"definition": "random(-9..9 except [0,c])", "name": "b1"}, "c1": {"definition": "random(-5..5 except 0)", "name": "c1"}}, "metadata": {"notes": "\n \t\t \t\t

15/08/2012:

\n \t\t \t\t

Added tags.

\n \t\t \t\t

Added description.

\n \t\t \n \t\t", "description": "

Expand $ax(cx+d)$ and expand $(rx+s)(px)$

", "licence": "Creative Commons Attribution 4.0 International"}, "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}]}], "contributors": [{"name": "Bill Foster", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/6/"}]}