// Numbas version: exam_results_page_options {"name": "Factorial Ex 3.4", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a1", "a2", "a3", "b1", "b2", "b3", "a4"], "name": "Factorial Ex 3.4", "tags": [], "advice": "

More information on factorials is available in your Mathematical Physics book, vol 1, section 3.1.1, page 60.

", "rulesets": {}, "parts": [{"prompt": "

$ \\dfrac{\\var{a3}!}{r!(\\var{a3}-r)!} $ for

\n

$r = 0:$ [[0]],

\n

$r = 1:$ [[1]],

\n

$r = 2:$ [[2]],

\n

$r = 3:$ [[3]],

\n

$r = 4:$ [[4]].

\n

\n

\n

", "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "gaps": [{"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{({a3}!)/(0!*({a3}-0)!)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{({a3}!)/(1!*({a3}-1)!)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{({a3}!)/(2!*({a3}-2)!)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{({a3}!)/(3!*({a3}-3)!)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}, {"vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "type": "jme", "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "scripts": {}, "answer": "{({a3}!)/(4!*({a3}-4)!)}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "vsetrange": [0, 1]}], "showCorrectAnswer": true, "scripts": {}, "marks": 0, "type": "gapfill"}], "statement": "

Calculate the following factorials.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "preamble": {"css": "", "js": ""}, "variables": {"a1": {"definition": "a2+random(3..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "a3": {"definition": "4", "templateType": "anything", "group": "Ungrouped variables", "name": "a3", "description": ""}, "a2": {"definition": "random(2..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "a2", "description": ""}, "b1": {"definition": "b2+random(2..5)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}, "b2": {"definition": "random(2..15)", "templateType": "anything", "group": "Ungrouped variables", "name": "b2", "description": ""}, "b3": {"definition": "random(2..min(b2,5))", "templateType": "anything", "group": "Ungrouped variables", "name": "b3", "description": ""}, "a4": {"definition": "a3+1", "templateType": "anything", "group": "Ungrouped variables", "name": "a4", "description": ""}}, "metadata": {"notes": "", "description": "

Simplify fractions involving the products of factorials.

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