// Numbas version: finer_feedback_settings {"name": "Hyperbolic Functions 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "b", "s2", "s1", "a1", "b1"], "name": "Hyperbolic Functions 3", "tags": ["Calculus", "calculus", "cosh", "hyperbolic functions", "indefinite integration", "integral", "integrating hyperbolic functions", "integration", "integration by parts", "sinh"], "preamble": {"css": "", "js": ""}, "advice": "

a)

\n

\\[\\int \\simplify[std]{cosh({a}x+{b})}\\;dx = \\frac{1}{\\var{a}}\\simplify[std]{ sinh({a}x+{b})}+C\\]

\n

b)

\n

Integrate by parts, so that

\n

\\[\\begin{eqnarray*} \\int \\simplify[std]{x*sinh({a1}x+{b1})}\\;dx&=&\\int \\simplify[std]{x*d((cosh({a1}x+{b1}))/{a1})}\\\\ &=&\\frac{1}{\\var{a1}}\\simplify[std]{x*cosh({a1}x+{b1})}-\\frac{1}{\\var{a1}} \\int \\simplify[std]{cosh({a1}x+{b1})}\\;dx\\\\ &=&\\frac{1}{\\var{a1}}\\simplify[std]{x*cosh({a1}x+{b1})}-\\frac{1}{\\var{a1^2}}\\simplify[std]{sinh({a1}x+{b1})}+C \\end{eqnarray*} \\]

", "rulesets": {"std": ["all", "fractionNumbers", "!collectNumbers", "!noLeadingMinus"]}, "parts": [{"prompt": "\n

$f(x)=\\simplify[std]{ cosh({a}x+{b})}$

\n

$\\displaystyle{\\int f(x)\\;dx=\\;\\;}$[[0]]

\n

You must include the constant of integration as $C$.

\n

Input all numbers as integers or fractions – not as decimals.

\n ", "marks": 0, "gaps": [{"notallowed": {"message": "

Input all numbers as integers or fractions – not as decimals.

", "showStrings": false, "strings": ["."], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "marks": 1, "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "(1 / {a}) * sinh({a} * x + {b})+C", "checkingtype": "absdiff", "checkvariablenames": false, "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}, {"prompt": "

$f(x)=\\simplify[std]{x*sinh({a1}x+{b1})}$

\n

$\\displaystyle{\\int f(x)\\;dx=\\;\\;}$[[0]]

\n

Include the constant of integration as $C$.

\n

Input all numbers as integers or fractions – not as decimals.

\n

Please note that if you want to enter a function of the form $xf(x)$ then enter as x*f(x) so that it's clear what you mean.

", "marks": 0, "gaps": [{"notallowed": {"message": "

Input all numbers as integers or fractions – not as decimals.

", "showStrings": false, "strings": ["."], "partialCredit": 0}, "vsetrangepoints": 5, "expectedvariablenames": [], "checkingaccuracy": 0.001, "vsetrange": [0, 1], "showpreview": true, "marks": 1, "showCorrectAnswer": true, "answersimplification": "std", "scripts": {}, "answer": "(1 / {a1}) * x * Cosh({a1} * x + {b1}) - (1 / ({a1} ^ 2)) * Sinh({a1} * x + {b1})+C", "checkingtype": "absdiff", "checkvariablenames": false, "type": "jme"}], "showCorrectAnswer": true, "scripts": {}, "type": "gapfill"}], "statement": "\n \n \n

Integrate the following functions $f(x)$.

\n \n \n ", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a", "description": ""}, "b": {"definition": "s1*random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b", "description": ""}, "s2": {"definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "s2", "description": ""}, "s1": {"definition": "random(1,-1)", "templateType": "anything", "group": "Ungrouped variables", "name": "s1", "description": ""}, "a1": {"definition": "random(2..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "a1", "description": ""}, "b1": {"definition": "s2*random(1..9)", "templateType": "anything", "group": "Ungrouped variables", "name": "b1", "description": ""}}, "metadata": {"notes": "\n \t\t

29/06/2012:

\n \t\t


Added and edited tags.

\n \t\t

Added forbidden strings, the decimal point, to ensure fraction or integer input for numbers.

\n \t\t

Put in $C$ as integration constant in both answers.

\n \t\t

19/07/2012:

\n \t\t

Added instruction in second question so that an input of the form $x\\cosh$ is recognized.

\n \t\t

Added description.

\n \t\t

Checked calculation.

\n \t\t

23/07/2012:

\n \t\t

\n \t\t

Added tags.

\n \t\t

 

\n \t\t

 

\n \t\t

 

\n \t\t", "description": "

Find  $\\displaystyle \\int\\cosh(ax+b)\\;dx,\\;\\;\\int x\\sinh(cx+d)\\;dx$

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