// Numbas version: finer_feedback_settings {"name": "PreCal Expand Simple Binomial using Pascal's Triangle and Binomial Theorem", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"tags": [], "metadata": {"licence": "All rights reserved", "description": ""}, "ungrouped_variables": ["b", "cn0", "cn1", "cn2", "cn3"], "rulesets": {}, "name": "PreCal Expand Simple Binomial using Pascal's Triangle and Binomial Theorem", "advice": "", "parts": [{"checkingType": "absdiff", "showFeedbackIcon": true, "adaptiveMarkingPenalty": 0, "vsetRange": [0, 1], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "type": "jme", "showPreview": true, "valuegenerators": [{"name": "x", "value": ""}], "checkingAccuracy": 0.001, "failureRate": 1, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "scripts": {}, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "useCustomName": false, "answer": "{cn0}*{b}^0*x^3 + {cn1}*{b}^{1}*x^2 + {cn2}*{b}^{2}*x + {cn3}*{b}^{3}", "marks": 1}], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "extensions": [], "statement": "
EXPAND: $\\simplify{(x+{b})^3}$
", "variables": {"cn3": {"name": "cn3", "group": "Ungrouped variables", "definition": "comb(3,3)", "description": "", "templateType": "anything"}, "cn2": {"name": "cn2", "group": "Ungrouped variables", "definition": "comb(3,2)", "description": "", "templateType": "anything"}, "cn1": {"name": "cn1", "group": "Ungrouped variables", "definition": "comb(3,1)", "description": "", "templateType": "anything"}, "cn0": {"name": "cn0", "group": "Ungrouped variables", "definition": "comb(3,0)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything"}}, "preamble": {"css": "", "js": ""}, "functions": {}, "type": "question", "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}]}], "contributors": [{"name": "Terry Young", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3130/"}]}