// Numbas version: finer_feedback_settings {"name": "Using Reduction Formulas ", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"extensions": [], "rulesets": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "statement": "
Define $I_{m,n} =\\displaystyle \\int_0^{\\pi/2} \\cos^m(x) \\sin^n(x), dx$ where $m$ and $n$ are non-negative integers.
\nUsing the results $I_{m,n} = \\dfrac{m-1}{m+n} I_{m-2,n} =\\dfrac{n-1}{m+n} I_{m,n-2}$
\nor otherwise, find the exact values of
", "parts": [{"scripts": {}, "showFeedbackIcon": true, "prompt": "$I_{\\var{E1},\\var{E2}}=\\displaystyle \\int_0^{\\pi/2} \\cos^\\var{E1}(x) \\sin^\\var{E2}(x), dx$.
", "type": "jme", "checkingType": "absdiff", "useCustomName": false, "valuegenerators": [], "checkingAccuracy": 0.001, "vsetRange": [0, 1], "marks": 1, "unitTests": [], "variableReplacements": [], "vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "showPreview": true, "customName": "", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "answer": "{doublefact}({E1}-1)*{doublefact}({E2}-1)/({doublefact}({E1}+{E2}))*Pi/2", "failureRate": 1, "customMarkingAlgorithm": ""}, {"scripts": {}, "showFeedbackIcon": true, "prompt": "$I_{\\var{O1},\\var{O2}}=\\displaystyle \\int_0^{\\pi/2} \\cos^\\var{O1}(x) \\sin^\\var{O2}(x), dx$.
", "type": "jme", "checkingType": "absdiff", "useCustomName": false, "valuegenerators": [], "checkingAccuracy": 0.001, "vsetRange": [0, 1], "marks": 1, "unitTests": [], "variableReplacements": [], "vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "showPreview": true, "customName": "", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "answer": "{doublefact}({O1}-1)*{doublefact}({O2}-1)/({doublefact}({O1}+{O2}))", "failureRate": 1, "customMarkingAlgorithm": ""}, {"scripts": {}, "showFeedbackIcon": true, "prompt": "$I_{\\var{E3},\\var{O3}}=\\displaystyle \\int_0^{\\pi/2} \\cos^\\var{E3}(x) \\sin^\\var{O3}(x), dx$
", "type": "jme", "checkingType": "absdiff", "useCustomName": false, "valuegenerators": [], "checkingAccuracy": 0.001, "vsetRange": [0, 1], "marks": 1, "unitTests": [], "variableReplacements": [], "vsetRangePoints": 5, "checkVariableNames": false, "variableReplacementStrategy": "originalfirst", "showPreview": true, "customName": "", "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "answer": "{doublefact}({E3}-1)*{doublefact}({O3}-1)/({doublefact}({E3}+{O3}))", "failureRate": 1, "customMarkingAlgorithm": ""}], "functions": {"doublefact": {"language": "jme", "type": "number", "parameters": [["n", "number"]], "definition": "//double factorial: descending by 2\n// recursive as I cannot get it to work otherwise\nif(n-1<=0,1,n*doublefact(n-2))"}}, "preamble": {"js": "", "css": ""}, "ungrouped_variables": ["E1", "E2", "E3", "O1r", "O2r", "O3", "O1", "O2"], "advice": "", "name": "Using Reduction Formulas ", "metadata": {"licence": "Creative Commons Attribution 4.0 International", "description": "Using the reduction formulas for products of powers or sin and cosine
"}, "variables": {"E2": {"name": "E2", "templateType": "anything", "group": "Ungrouped variables", "definition": "2*random(1..5 except E1)", "description": "2nd even
"}, "O2": {"name": "O2", "templateType": "anything", "group": "Ungrouped variables", "definition": "2*O2r+1", "description": "O2
"}, "O2r": {"name": "O2r", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(1..4 except O1r)", "description": "2nd odd, lacks the 1
"}, "O1": {"name": "O1", "templateType": "anything", "group": "Ungrouped variables", "definition": "2*O1r+1", "description": ""}, "O1r": {"name": "O1r", "templateType": "anything", "group": "Ungrouped variables", "definition": "random(0..4)", "description": "1st odd, lacking a 1
"}, "E1": {"name": "E1", "templateType": "anything", "group": "Ungrouped variables", "definition": "2*random(1..5)", "description": "first even
"}, "E3": {"name": "E3", "templateType": "anything", "group": "Ungrouped variables", "definition": "2*random(1..4)", "description": "3rd even
"}, "O3": {"name": "O3", "templateType": "anything", "group": "Ungrouped variables", "definition": "1+2*random(1..3)", "description": "3rd odd
"}}, "tags": ["integration", "reduction formula"], "variable_groups": [{"name": "Unnamed group", "variables": []}], "type": "question", "contributors": [{"name": "John Steele", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2218/"}]}]}], "contributors": [{"name": "John Steele", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/2218/"}]}