// Numbas version: exam_results_page_options {"name": "CA2 Block 2 Q1 2019", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "CA2 Block 2 Q1 2019", "tags": [], "metadata": {"description": "

Integration by susbtitution, no hint given

", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "

Find $\\displaystyle \\int e^x \\sqrt{1+e^x} \\ dx$.

", "advice": "

integration by Susbtitution

", "rulesets": {}, "extensions": [], "variables": {"b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..8 except a)", "description": "", "templateType": "anything"}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["c", "b", "a"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "prompt": "

$\\displaystyle \\int e^x \\sqrt{1+e^x} \\ dx = $ [[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": "2", "showCorrectAnswer": true, "showFeedbackIcon": true, "scripts": {}, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "adaptiveMarkingPenalty": 0, "customMarkingAlgorithm": "malrules:\n [\n [\"2/3*(1+e^x)^(3/2)\", \"Almost there! Did you forget to include the integration constant?\",0.9],\n [\"e^x+2/3*e^(3x/2)\", \"$\\\\sqrt{1+e^x} \\\\neq \\\\sqrt{1}+\\\\sqrt{e^x}$. Hint: Try substitution.\",0],\n [\"e^x+2/3*e^(3x/2)+C\", \"$\\\\sqrt{1+e^x} \\\\neq \\\\sqrt{1}+\\\\sqrt{e^x}$. Hint: Try substitution.\",0],\n [\"2/3*(u)^(3/2)\", \"Don't forget to fill back in for $u$. You must give your answer in terms of the original variable i.e. in terms of $x$.\",0],\n [\"2/3*(u)^(3/2)+C\", \"Don't forget to fill back in for $u$. You must give your answer in terms of the original variable i.e. in terms of $x$.\",0],\n [\"3/2*(1+e^x)^(3/2)\", \"You have multiplied by the new power rather than dividing by it.\",0],\n [\"3/2*(1+e^x)^(3/2)+C\", \"You have multiplied by the new power rather than dividing by it.\",0],\n [\"3/2*u^(3/2)+C\", \"You have multiplied by the new power rather than dividing by it.\",0],\n [\"3/2*u^(3/2)\", \"You have multiplied by the new power rather than dividing by it.\",0],\n [\"e^x*sqrt(x+e^x)+C\",\"You cannot simply integrate individual terms that are multiplied together. Hint: Try substitution.\",0],\n [\"e^x*sqrt(x+e^x)\",\"You cannot simply integrate individual terms that are multiplied together. Hint: Try substitution.\",0],\n [\"u^(1/2)+C\",\"You have not actually integrated anything. You simply substituted for $1+e^x$.\",0],\n [\"u^(1/2)\",\"You have not actually integrated anything. You simply substituted for $1+e^x$.\",0],\n [\"(1+e^x)^(1/2)+C\",\"You have not actually integrated anything. You simply substituted for $1+e^x$ and then subbed back in again.\",0],\n [\"(1+e^x)^(1/2)\",\"You have not actually integrated anything. You simply substituted for $1+e^x$ and then subbed back in again.\",0]\n ]\n\n\nparsed_malrules: \n map(\n [\"expr\":parse(x[0]),\"feedback\":x[1],\"credit\":x[2]],\n x,\n malrules\n )\n\nagree_malrules (Do the student's answer and the expected answer agree on each of the sets of variable values?):\n map(\n len(filter(not x ,x,map(\n try(\n resultsEqual(unset(question_definitions,eval(studentexpr,vars)),unset(question_definitions,eval(malrule[\"expr\"],vars)),settings[\"checkingType\"],settings[\"checkingAccuracy\"]),\n message,\n false\n ),\n vars,\n vset\n )))