// Numbas version: exam_results_page_options {"name": "Numbas tutorial: arithmetic (finished)", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"variable_groups": [], "rulesets": {"std": ["all", "fractionnumbers"]}, "advice": "
$\\var{a}+\\var{b} = \\var{a+b}$
\n$\\var{a} \\times \\var{b} = \\var{a*b}$
\nUsing the method of completing the square:
\n\\begin{align}
\\simplify{x^2 + {qb}*x + {qc}} = \\simplify[std]{(x+{qb/2})^2 - {qb^2/4} + {qc}} &= \\simplify[std]{(x+{qb/2})^2}-\\left(\\simplify[std]{({sqrt(qb^2/4 - qc)})}\\right)^2 \\\\
&= \\simplify[std,!collectNumbers]{(x+{qb/2}-{sqrt(qb^2/4 - qc)})(x+{qb/2}+{sqrt(qb^2/4 - qc)})} & \\text{(difference of two squares)} \\\\
&= \\simplify[std]{(x+{qb/2}-{sqrt(qb^2/4 - qc)})(x+{qb/2}+{sqrt(qb^2/4 - qc)})}
\\end{align}
What is $\\var{a}+\\var{b}$?
", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReducedPC": 0}, {"minValue": "c*d", "mustBeReduced": false, "variableReplacementStrategy": "originalfirst", "scripts": {}, "variableReplacements": [], "maxValue": "c*d", "type": "numberentry", "correctAnswerFraction": false, "marks": 1, "prompt": "What is $\\var{c} \\times \\var{d}$?
", "showCorrectAnswer": true, "notationStyles": ["plain", "en", "si-en"], "showFeedbackIcon": true, "correctAnswerStyle": "plain", "allowFractions": false, "mustBeReducedPC": 0}, {"notallowed": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["^"]}, "vsetrange": [0, 1], "variableReplacementStrategy": "originalfirst", "scripts": {}, "answer": "(x+{x0})(x+{x1})", "vsetrangepoints": 5, "variableReplacements": [], "musthave": {"message": "", "showStrings": false, "partialCredit": 0, "strings": ["(", ")"]}, "type": "jme", "expectedvariablenames": [], "marks": 1, "prompt": "Factorise $\\simplify{ x^2 + {x0+x1}*x + {x0*x1} }$.
", "showCorrectAnswer": true, "showFeedbackIcon": true, "checkvariablenames": false, "showpreview": true, "checkingtype": "absdiff", "checkingaccuracy": 0.001}], "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "The question created during the \"Write your first question\" tutorial.
"}, "type": "question", "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}]}], "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}]}