// Numbas version: finer_feedback_settings {"name": "Jinhua's copy of Integration - sin and cos", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["p1", "c1"], "name": "Jinhua's copy of Integration - sin and cos", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
$\\int \\cos(bx) \\mathrm{d}x = \\frac{\\sin(bx)}{b}$
\n$\\int \\sin(cx) \\mathrm{d}x = \\frac{-\\cos(cx)}{c}$
", "rulesets": {}, "parts": [{"vsetrangepoints": 5, "prompt": "$\\int \\simplify{cos({p1[0]}x)} \\mathrm{d}x$
", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "musthave": {"message": "Remember to put your argument in brackets!
", "showStrings": true, "strings": [")", "("], "partialCredit": 0}, "scripts": {}, "answer": "sin({p1[0]}x)/{p1[0]}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}, {"vsetrangepoints": 5, "prompt": "$\\int \\simplify{{c1[0]} - sin({p1[1]}x)} \\mathrm{d}x$
", "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "showCorrectAnswer": true, "musthave": {"message": "Remember to put your argument in brackets!
", "showStrings": true, "strings": [")", "("], "partialCredit": 0}, "scripts": {}, "answer": "{c1[0]}x+cos({p1[1]}x)/{p1[1]}", "marks": 1, "checkvariablenames": false, "checkingtype": "absdiff", "type": "jme"}], "statement": "Find the following:
\nIn each case, you may assume that the constant of integration is 0
\nRemember to put your argument in brackets!
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"c1": {"definition": "shuffle(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "c1", "description": ""}, "p1": {"definition": "shuffle(-5..5 except 0)", "templateType": "anything", "group": "Ungrouped variables", "name": "p1", "description": ""}}, "metadata": {"notes": "", "description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}]}], "contributors": [{"name": "", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/514/"}]}