// Numbas version: finer_feedback_settings {"name": "PreCal Expand Binomial of the form (ax^p+by^q)^4", "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": ["a", "b", "p", "q", "c40", "c41", "c42", "c43", "c44", "coeff0", "coeff1", "coeff2", "coeff3", "coeff4"], "rulesets": {}, "name": "PreCal Expand Binomial of the form (ax^p+by^q)^4", "advice": "", "parts": [{"checkingType": "absdiff", "showFeedbackIcon": true, "adaptiveMarkingPenalty": 0, "vsetRange": [0, 1], "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "unitTests": [], "type": "jme", "showPreview": true, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}], "checkingAccuracy": 0.001, "failureRate": 1, "customName": "", "showCorrectAnswer": true, "customMarkingAlgorithm": "", "scripts": {}, "extendBaseMarkingAlgorithm": true, "checkVariableNames": false, "vsetRangePoints": 5, "useCustomName": false, "answer": "{coeff0}x^{4*p}+{coeff1}*x^{3*p}*y^{1*q}+{coeff2}*x^{2*p}*y^{2*q}+{coeff3}*x^{1*p}*y^{3*q}+{coeff4}*y^{4*q}", "marks": 1}], "variablesTest": {"condition": "", "maxRuns": 100}, "variable_groups": [], "extensions": [], "statement": "

EXPAND:  $\\simplify{ ({a}*x^{{p}} + {b}*y^{{q}})^4}$

", "variables": {"p": {"name": "p", "group": "Ungrouped variables", "definition": "random(1..5 except 0)", "description": "", "templateType": "anything"}, "q": {"name": "q", "group": "Ungrouped variables", "definition": "random(1..5 except [p])", "description": "", "templateType": "anything"}, "c44": {"name": "c44", "group": "Ungrouped variables", "definition": "comb(4,4)", "description": "", "templateType": "anything"}, "c42": {"name": "c42", "group": "Ungrouped variables", "definition": "comb(4,2)", "description": "", "templateType": "anything"}, "coeff3": {"name": "coeff3", "group": "Ungrouped variables", "definition": "c43*a^1*b^3", "description": "", "templateType": "anything"}, "c41": {"name": "c41", "group": "Ungrouped variables", "definition": "comb(4,1)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-3..3 except 0)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5 except[0,a])", "description": "", "templateType": "anything"}, "coeff2": {"name": "coeff2", "group": "Ungrouped variables", "definition": "c42*a^2*b^2", "description": "", "templateType": "anything"}, "coeff4": {"name": "coeff4", "group": "Ungrouped variables", "definition": "c44*a^0*b^4", "description": "", "templateType": "anything"}, "c43": {"name": "c43", "group": "Ungrouped variables", "definition": "comb(4,3)", "description": "", "templateType": "anything"}, "coeff1": {"name": "coeff1", "group": "Ungrouped variables", "definition": "c41*a^3*b^1", "description": "", "templateType": "anything"}, "coeff0": {"name": "coeff0", "group": "Ungrouped variables", "definition": "c40*a^4*b^0", "description": "", "templateType": "anything"}, "c40": {"name": "c40", "group": "Ungrouped variables", "definition": "comb(4,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/"}]}