// Numbas version: exam_results_page_options {"name": "SCC Class Test 3", "metadata": {"description": "", "licence": "None specified"}, "duration": 3300, "percentPass": 0, "showQuestionGroupNames": false, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Limits 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We note first that substituting \\(x=\\var{b}\\) into the function results in a \"value\" of \\(\\frac{\\simplify{({b}-{a})*({b}-{c})}}{0}\\), hence the function is not defined at \\(x=\\var{b}\\). Because this value is not of the form \\(\\frac00\\) we can say that the limit does not exist.

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9 except [0, a])", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except [0,a,b])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [{"variables": [{"name": "a", "value": "-2"}, {"name": "b", "value": "5"}, {"name": "c", "value": "2"}], "answer": {"valid": true, "value": ["6"]}, "notes": [{"name": "marked_original_order", "expected": {"value": "[ [ \"marks\": 1, \"credit\": 0, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"valid\": true, \"states\": [ \"studentnumber\": [ ], \"isinteger\": [ ], \"isfraction\": [ ], \"numerator\": [ ], \"denominator\": [ ], \"cancelled\": [ ], \"cleanedstudentanswer\": [ ], \"studentprecision\": [ ], \"raw_minvalue\": [ ], \"raw_maxvalue\": [ ], \"minvalue\": [ ], \"maxvalue\": [ ], \"validnumber\": [ ], \"numberinrange\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"correctprecision\": [ ], \"mark\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"interpreted_answer\": [ ] ], \"state_valid\": [ \"studentnumber\": true, \"isinteger\": true, \"isfraction\": true, \"numerator\": true, \"denominator\": true, \"cancelled\": true, \"cleanedstudentanswer\": true, \"studentprecision\": true, \"raw_minvalue\": true, \"raw_maxvalue\": true, \"minvalue\": true, \"maxvalue\": true, \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": true, \"interpreted_answer\": true ], \"values\": [ \"path\": safe(\"p0g0\"), \"name\": safe(\"Gap 0\"), \"question_definitions\": [ \"variables\": [ safe(\"a\"), safe(\"b\"), safe(\"c\") ], \"functions\": [ ], \"rulesets\": [ ] ], \"studentanswer\": safe(\"6\"), \"settings\": [ \"stepsPenalty\": 0, \"enableMinimumMarks\": true, \"minimumMarks\": 0, \"showCorrectAnswer\": true, \"showFeedbackIcon\": true, \"hasVariableReplacements\": false, \"variableReplacementStrategy\": safe(\"originalfirst\"), \"exploreObjective\": \"\", \"suggestGoingBack\": false, \"adaptiveMarkingPenalty\": 0, \"useAlternativeFeedback\": false, \"errorCarriedForwardReplacements\": [ ], \"minvalueString\": safe(\"(a-c)/(a-b)\"), \"maxvalueString\": safe(\"(a-c)/(a-b)\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"correctAnswerFraction\": true, \"allowFractions\": true, \"notationStyles\": [ safe(\"plain\"), safe(\"en\"), safe(\"si-en\") ], \"displayAnswer\": safe(\"4/7\"), \"precisionType\": safe(\"none\"), \"precisionString\": safe(\"0\"), \"strictPrecision\": false, \"precision\": 0, \"precisionPC\": 0, \"mustBeReduced\": false, \"mustBeReducedPC\": 0, \"precisionMessage\": safe(\"You have not given your answer to the correct precision.\"), \"showPrecisionHint\": true, \"showFractionHint\": true, \"correctAnswerStyle\": safe(\"plain\") ], \"marks\": 1, \"parttype\": \"numberentry\", \"gaps\": [ ], \"steps\": [ ], \"studentnumber\": 6, \"isinteger\": true, \"isfraction\": false, \"numerator\": 0, \"denominator\": 0, \"cancelled\": false, \"cleanedstudentanswer\": safe(\"6\"), \"studentprecision\": 0, \"raw_minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"raw_maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": nothing, \"interpreted_answer\": 6 ] ] ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answer_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_feedback", "expected": {"value": "[ [ \"credit\": 0, \"marks\": 1, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"answered\": true ] ]", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "all_valid", "expected": {"value": "true", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "mark", "expected": {"value": "nothing", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answer", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}]}], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Evaluate \\(\\displaystyle{\\lim_{x\\to\\var{b}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}\\). Show full working on your handwritten working. Type the answer as a fraction in the box below. If the limit does not exist type infinity in the box below.

\n

\\(\\displaystyle{\\lim_{x\\to\\var{b}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}=\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Limit", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "infty", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Limits 3", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We note first that substituting \\(x=\\var{c}\\) into the function results in a value of \\(\\frac{0}{\\simplify{({c}-{a})*({c}-{b})}}\\), hence the  value of the function  at \\(x=\\var{c}\\) is \\(0\\). Using the rule which says that \\[\\lim_{x\\to c}\\frac{f(x)}{g(x)}=\\frac{f(c)}{g(c)}\\] we can conclude that the value of the limit is also \\(0\\).

\n

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9 except [0, a])", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except [0,a,b])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [{"variables": [{"name": "a", "value": "-2"}, {"name": "b", "value": "5"}, {"name": "c", "value": "2"}], "answer": {"valid": true, "value": ["6"]}, "notes": [{"name": "marked_original_order", "expected": {"value": "[ [ \"marks\": 1, \"credit\": 0, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"valid\": true, \"states\": [ \"studentnumber\": [ ], \"isinteger\": [ ], \"isfraction\": [ ], \"numerator\": [ ], \"denominator\": [ ], \"cancelled\": [ ], \"cleanedstudentanswer\": [ ], \"studentprecision\": [ ], \"raw_minvalue\": [ ], \"raw_maxvalue\": [ ], \"minvalue\": [ ], \"maxvalue\": [ ], \"validnumber\": [ ], \"numberinrange\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"correctprecision\": [ ], \"mark\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"interpreted_answer\": [ ] ], \"state_valid\": [ \"studentnumber\": true, \"isinteger\": true, \"isfraction\": true, \"numerator\": true, \"denominator\": true, \"cancelled\": true, \"cleanedstudentanswer\": true, \"studentprecision\": true, \"raw_minvalue\": true, \"raw_maxvalue\": true, \"minvalue\": true, \"maxvalue\": true, \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": true, \"interpreted_answer\": true ], \"values\": [ \"path\": safe(\"p0g0\"), \"name\": safe(\"Gap 0\"), \"question_definitions\": [ \"variables\": [ safe(\"a\"), safe(\"b\"), safe(\"c\") ], \"functions\": [ ], \"rulesets\": [ ] ], \"studentanswer\": safe(\"6\"), \"settings\": [ \"stepsPenalty\": 0, \"enableMinimumMarks\": true, \"minimumMarks\": 0, \"showCorrectAnswer\": true, \"showFeedbackIcon\": true, \"hasVariableReplacements\": false, \"variableReplacementStrategy\": safe(\"originalfirst\"), \"exploreObjective\": \"\", \"suggestGoingBack\": false, \"adaptiveMarkingPenalty\": 0, \"useAlternativeFeedback\": false, \"errorCarriedForwardReplacements\": [ ], \"minvalueString\": safe(\"(a-c)/(a-b)\"), \"maxvalueString\": safe(\"(a-c)/(a-b)\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"correctAnswerFraction\": true, \"allowFractions\": true, \"notationStyles\": [ safe(\"plain\"), safe(\"en\"), safe(\"si-en\") ], \"displayAnswer\": safe(\"4/7\"), \"precisionType\": safe(\"none\"), \"precisionString\": safe(\"0\"), \"strictPrecision\": false, \"precision\": 0, \"precisionPC\": 0, \"mustBeReduced\": false, \"mustBeReducedPC\": 0, \"precisionMessage\": safe(\"You have not given your answer to the correct precision.\"), \"showPrecisionHint\": true, \"showFractionHint\": true, \"correctAnswerStyle\": safe(\"plain\") ], \"marks\": 1, \"parttype\": \"numberentry\", \"gaps\": [ ], \"steps\": [ ], \"studentnumber\": 6, \"isinteger\": true, \"isfraction\": false, \"numerator\": 0, \"denominator\": 0, \"cancelled\": false, \"cleanedstudentanswer\": safe(\"6\"), \"studentprecision\": 0, \"raw_minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"raw_maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": nothing, \"interpreted_answer\": 6 ] ] ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answer_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_feedback", "expected": {"value": "[ [ \"credit\": 0, \"marks\": 1, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"answered\": true ] ]", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "all_valid", "expected": {"value": "true", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "mark", "expected": {"value": "nothing", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answer", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}]}], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Evaluate \\(\\displaystyle{\\lim_{x\\to\\var{c}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}\\). Show full working on your handwritten working. Type the answer as a fraction in the box below. If the limit does not exist type infinity in the box below.

\n

\\(\\displaystyle{\\lim_{x\\to\\var{c}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}=\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Limit", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "0", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Limits 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We note first that substituting \\(x=\\var{a}\\) into the function results in a \"value\" of \\(\\frac00\\), hence the function is not defined at \\(x=\\var{a}\\). To evaluate the limit we try factorising the numerator and denominator and looking for common factors.

\n

\\begin{align} \\lim_{x\\to\\var{a}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}&=\\lim_{x\\to\\var{a}}\\frac{\\simplify{(x-{a})(x-{c})}}{\\simplify{(x-{a})(x-{b})}}\\\\&=\\lim_{x\\to\\var{a}}\\frac{\\simplify{x-{c}}}{\\simplify{x-{b}}}\\\\&=\\simplify{{a-c}/{a-b}}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9 except [0, a])", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except [0,a,b])", "description": "", "templateType": "anything", "can_override": false}, "answer": {"name": "answer", "group": "Ungrouped variables", "definition": "(a-c)/(a-b)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "answer"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [{"variables": [{"name": "a", "value": "-2"}, {"name": "b", "value": "5"}, {"name": "c", "value": "2"}], "answer": {"valid": true, "value": ["6"]}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answer", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "marked_original_order", "expected": {"value": "[ [ \"marks\": 1, \"credit\": 0, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"valid\": true, \"states\": [ \"studentnumber\": [ ], \"isinteger\": [ ], \"isfraction\": [ ], \"numerator\": [ ], \"denominator\": [ ], \"cancelled\": [ ], \"cleanedstudentanswer\": [ ], \"studentprecision\": [ ], \"raw_minvalue\": [ ], \"raw_maxvalue\": [ ], \"minvalue\": [ ], \"maxvalue\": [ ], \"validnumber\": [ ], \"numberinrange\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"correctprecision\": [ ], \"mark\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ], [ \"op\": safe(\"end\"), \"invalid\": false, \"note\": safe(\"numberinrange\") ] ], \"interpreted_answer\": [ ] ], \"state_valid\": [ \"studentnumber\": true, \"isinteger\": true, \"isfraction\": true, \"numerator\": true, \"denominator\": true, \"cancelled\": true, \"cleanedstudentanswer\": true, \"studentprecision\": true, \"raw_minvalue\": true, \"raw_maxvalue\": true, \"minvalue\": true, \"maxvalue\": true, \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": true, \"interpreted_answer\": true ], \"values\": [ \"path\": safe(\"p0g0\"), \"name\": safe(\"Gap 0\"), \"question_definitions\": [ \"variables\": [ safe(\"a\"), safe(\"b\"), safe(\"c\") ], \"functions\": [ ], \"rulesets\": [ ] ], \"studentanswer\": safe(\"6\"), \"settings\": [ \"stepsPenalty\": 0, \"enableMinimumMarks\": true, \"minimumMarks\": 0, \"showCorrectAnswer\": true, \"showFeedbackIcon\": true, \"hasVariableReplacements\": false, \"variableReplacementStrategy\": safe(\"originalfirst\"), \"exploreObjective\": \"\", \"suggestGoingBack\": false, \"adaptiveMarkingPenalty\": 0, \"useAlternativeFeedback\": false, \"errorCarriedForwardReplacements\": [ ], \"minvalueString\": safe(\"(a-c)/(a-b)\"), \"maxvalueString\": safe(\"(a-c)/(a-b)\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"correctAnswerFraction\": true, \"allowFractions\": true, \"notationStyles\": [ safe(\"plain\"), safe(\"en\"), safe(\"si-en\") ], \"displayAnswer\": safe(\"4/7\"), \"precisionType\": safe(\"none\"), \"precisionString\": safe(\"0\"), \"strictPrecision\": false, \"precision\": 0, \"precisionPC\": 0, \"mustBeReduced\": false, \"mustBeReducedPC\": 0, \"precisionMessage\": safe(\"You have not given your answer to the correct precision.\"), \"showPrecisionHint\": true, \"showFractionHint\": true, \"correctAnswerStyle\": safe(\"plain\") ], \"marks\": 1, \"parttype\": \"numberentry\", \"gaps\": [ ], \"steps\": [ ], \"studentnumber\": 6, \"isinteger\": true, \"isfraction\": false, \"numerator\": 0, \"denominator\": 0, \"cancelled\": false, \"cleanedstudentanswer\": safe(\"6\"), \"studentprecision\": 0, \"raw_minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"raw_maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"minvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"maxvalue\": dec(\"5.714285714285714285714285714285714285714e-1\"), \"validnumber\": true, \"numberinrange\": true, \"correctprecision\": true, \"mark\": nothing, \"interpreted_answer\": 6 ] ] ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "interpreted_answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answers", "expected": {"value": "[ 6 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "answer_order", "expected": {"value": "[ 0 ]", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "gap_feedback", "expected": {"value": "[ [ \"credit\": 0, \"marks\": 1, \"feedback\": [ [ \"op\": safe(\"set_credit\"), \"credit\": 0, \"reason\": safe(\"incorrect\"), \"message\": safe(\"Your answer is incorrect.\"), \"note\": safe(\"numberinrange\") ] ], \"answered\": true ] ]", "messages": ["Your answer is incorrect."], "warnings": [], "error": "", "valid": true, "credit": 0}}, {"name": "all_valid", "expected": {"value": "true", "messages": [], "warnings": [], "error": "", "valid": true, "credit": 0}}]}], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Evaluate \\(\\displaystyle{\\lim_{x\\to\\var{a}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}\\). Show full working on your handwritten working. Type the answer as a fraction in the box below. If the limit does not exist type infinity in the box below.

\n

\\(\\displaystyle{\\lim_{x\\to\\var{a}}\\frac{\\simplify{x^2-{a+c}x+{a*c}}}{\\simplify{x^2-{a+b}x+{a*b}}}}=\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Limit", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "({a-c})/({a-b})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Basic differentiation 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

Note first that the function \\(\\displaystyle{\\simplify{y={function}}}\\) can be written as \\(\\displaystyle{y=\\simplify{{a}*x^{b}+{c}*x^{-1*d}}+\\ln({\\var{f}x}})\\).

\n

Using the differentiation rules (where \\(u\\) and \\(v\\) are functions of \\(x\\)):

\n\n

we have \\(\\frac{d}{dx}\\left(\\simplify{{a}*x^{b}+{c}*x^{-1*d}}+\\ln({\\var{f}x})\\right)=\\simplify{{a*b}x^{b-1}-{c*d}x^{-d-1}}+\\frac{1}{x}\\)

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3..8)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(2..15 except 0)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"a*x^b+c/x^d+ln(f*x)\"))", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "simplify(diff(function,\"x\"),[\"cancelFactors\",\"expandBrackets\"])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "function", "derivative"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the first derivative of the function \\(\\displaystyle{\\simplify{y={function}}}\\). Show any necessary working on your handwritten working.

\n

\\(\\displaystyle{\\frac{dy}{dx}}=\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Basic differentiation 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

Note first that the function \\(\\displaystyle{\\simplify{y={function}}}\\) can be written as \\(\\displaystyle{y=\\simplify{{a}*x^{b}+{c}*sin({d}*x)+{f}}\\ln(x)}\\).

\n

Using the differentiation rules (where \\(u\\) and \\(v\\) are functions of \\(x\\)):

\n\n

we have \\(\\frac{d}{dx}\\left(\\simplify{{a}*x^{b}+{c}*sin({d}*x)+{f}ln (x)}\\right)=\\simplify{{a*b}x^{b-1}+{c*d}cos({d}*x)+{f}/x}\\)

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(3..8)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..8)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"a*x^b+c*sin(d*x)+f*ln(x)\"))", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "simplify(diff(function,\"x\"),[\"cancelFactors\",\"expandBrackets\",\"canonicalOrder\"])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d", "f", "function", "derivative"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the first derivative of the function \\(\\displaystyle{\\simplify{y={function}}}\\). Show any necessary working on your handwritten working.

\n

\\(\\displaystyle{\\frac{dy}{dx}}=\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", "", "", ""], "variable_overrides": [[], [], [], []], "questions": [{"name": "Product rule 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We use the product rule:

\n

Let \\(u=\\simplify{{function_u}}\\) and \\(v=\\simplify{{function_v}}\\).

\n

Hence we have

\n

\\(\\frac{du}{dx}=\\simplify{{deriv_u}}\\) and \\(\\frac{dv}{dx}=\\simplify{{deriv_v}}\\)

\n

Now by the product rule we have \\begin{align}\\frac{dy}{dx}&=u\\frac{dv}{dx}+v\\frac{du}{dx}\\\\&=\\simplify{{function_u}}\\times\\simplify{{deriv_v}}+\\simplify{{function_v}}\\times\\simplify{{deriv_u}}\\\\&=\\simplify{{function_u}*{deriv_v}+{function_v}*{deriv_u}}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"cos(d*x^2+b*x+f)*e^(a*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "diff(function,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "function_u": {"name": "function_u", "group": "Ungrouped variables", "definition": "substitute([\"d\":d,\"f\":f,\"b\":b],expression(\"cos(d*x^2+b*x+f)\"))", "description": "", "templateType": "anything", "can_override": false}, "function_v": {"name": "function_v", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"c\":c],expression(\"e^(a*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "deriv_u": {"name": "deriv_u", "group": "Ungrouped variables", "definition": "diff(function_u,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "deriv_v": {"name": "deriv_v", "group": "Ungrouped variables", "definition": "diff(function_v,\"x\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "function", "d", "f", "derivative", "function_u", "function_v", "deriv_u", "deriv_v"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find \\(\\displaystyle{\\frac{dy}{dx}}\\) given that \\(\\displaystyle{\\simplify{y={function}}}\\). Show full working on your handwritten working.

\n

\\(\\displaystyle{\\frac{dy}{dx}=}\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Product rule 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We use the product rule:

\n

Let \\(u=\\simplify{{function_u}}\\) and \\(v=\\simplify{{function_v}}\\).

\n

Hence we have

\n

\\(\\frac{du}{dx}=\\simplify{{deriv_u}}\\) and \\(\\frac{dv}{dx}=\\simplify{{deriv_v}}\\)

\n

Now by the product rule we have \\begin{align}\\frac{dy}{dx}&=u\\frac{dv}{dx}+v\\frac{du}{dx}\\\\&=\\simplify{{function_u}}\\times\\simplify{{deriv_v}}+\\simplify{{function_v}}\\times\\simplify{{deriv_u}}\\\\&=\\simplify{{function_u}*{deriv_v}+{function_v}*{deriv_u}}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"e^(d*x+f)*sin(a*x^2+b*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "diff(function,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "function_u": {"name": "function_u", "group": "Ungrouped variables", "definition": "substitute([\"d\":d,\"f\":f],expression(\"e^(d*x+f)\"))", "description": "", "templateType": "anything", "can_override": false}, "function_v": {"name": "function_v", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c],expression(\"sin(a*x^2+b*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "deriv_u": {"name": "deriv_u", "group": "Ungrouped variables", "definition": "diff(function_u,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "deriv_v": {"name": "deriv_v", "group": "Ungrouped variables", "definition": "diff(function_v,\"x\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "function", "d", "f", "derivative", "function_u", "function_v", "deriv_u", "deriv_v"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find \\(\\displaystyle{\\frac{dy}{dx}}\\) given that \\(\\displaystyle{\\simplify{y={function}}}\\). Show full working on your handwritten working. (Note to enter a function such as \\(\\sec^2x\\) type sec x^2 in the answer box.)

\n

\\(\\displaystyle{\\frac{dy}{dx}=}\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Quotient rule 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We use the quotient rule:

\n

Let \\(u=\\simplify{{function_u}}\\) and \\(v=\\simplify{{function_v}}\\).

\n

Hence we have

\n

\\(\\frac{du}{dx}=\\simplify{{deriv_u}}\\) and \\(\\frac{dv}{dx}=\\simplify{{deriv_v}}\\)

\n

Now by the quotient rule we have \\begin{align}\\frac{dy}{dx}&=\\frac{v\\frac{du}{dx}-u\\frac{dv}{dx}}{v^2}\\\\&=\\frac{\\simplify{{function_v}}\\times\\simplify{{deriv_u}}-\\simplify{{function_u}}\\times\\simplify{{deriv_v}}}{\\left(\\simplify{{function_v}}\\right)^2}\\\\&=\\frac{\\simplify{{function_v}*{deriv_u}-{function_u}*{deriv_v}}}{\\left(\\simplify{{function_v}}\\right)^2}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"cos(d*x+f)/e^(a*x^2+b*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "diff(function,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "function_u": {"name": "function_u", "group": "Ungrouped variables", "definition": "substitute([\"d\":d,\"f\":f],expression(\"cos(d*x+f)\"))", "description": "", "templateType": "anything", "can_override": false}, "function_v": {"name": "function_v", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c],expression(\"e^(a*x^2+b*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "deriv_u": {"name": "deriv_u", "group": "Ungrouped variables", "definition": "diff(function_u,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "deriv_v": {"name": "deriv_v", "group": "Ungrouped variables", "definition": "diff(function_v,\"x\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "function", "d", "f", "derivative", "function_u", "function_v", "deriv_u", "deriv_v"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find \\(\\displaystyle{\\frac{dy}{dx}}\\) given that \\(\\displaystyle{\\simplify{y={function}}}\\). Show full working on your handwritten working. (Note to enter a function such as \\(\\sec^2x\\) type sec x^2 in the answer box.)

\n

\\(\\displaystyle{\\frac{dy}{dx}=}\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Quotient rule 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We use the quotient rule:

\n

Let \\(u=\\simplify{{function_u}}\\) and \\(v=\\simplify{{function_v}}\\).

\n

Hence we have

\n

\\(\\frac{du}{dx}=\\simplify{{deriv_u}}\\) and \\(\\frac{dv}{dx}=\\simplify{{deriv_v}}\\)

\n

Now by the quotient rule we have \\begin{align}\\frac{dy}{dx}&=\\frac{v\\frac{du}{dx}-u\\frac{dv}{dx}}{v^2}\\\\&=\\frac{\\simplify{{function_v}}\\times\\simplify{{deriv_u}}-\\simplify{{function_u}}\\times\\simplify{{deriv_v}}}{\\simplify{{function_v}^2}}\\\\&=\\frac{\\simplify{{function_v}*{deriv_u}-{function_u}*{deriv_v}}}{\\simplify{{function_v}^2}}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c,\"d\":d,\"f\":f],expression(\"e^(a*x^2+b*x+c)/sin(d*x+f)\"))", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "f": {"name": "f", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "derivative": {"name": "derivative", "group": "Ungrouped variables", "definition": "diff(function,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "function_u": {"name": "function_u", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c],expression(\"e^(a*x^2+b*x+c)\"))", "description": "", "templateType": "anything", "can_override": false}, "function_v": {"name": "function_v", "group": "Ungrouped variables", "definition": "substitute([\"d\":d,\"f\":f],expression(\"sin(d*x+f)\"))", "description": "", "templateType": "anything", "can_override": false}, "deriv_u": {"name": "deriv_u", "group": "Ungrouped variables", "definition": "diff(function_u,\"x\")", "description": "", "templateType": "anything", "can_override": false}, "deriv_v": {"name": "deriv_v", "group": "Ungrouped variables", "definition": "diff(function_v,\"x\")", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "function", "d", "f", "derivative", "function_u", "function_v", "deriv_u", "deriv_v"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find \\(\\displaystyle{\\frac{dy}{dx}}\\) given that \\(\\displaystyle{\\simplify{y={function}}}\\). Show full working on your handwritten working.

\n

\\(\\displaystyle{\\frac{dy}{dx}=}\\)[[0]]

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "{derivative}", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": []}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "random-subset", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Tangents 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

To find the equation of the tangent at \\(x=0\\) we need to find the value of \\(y\\) and \\(\\frac{dy}{dx}\\) when \\(x=0\\).

\n

We have: \\begin{align}y(0)&=\\sin^{-1}(\\var{c}\\times 0)e^{\\simplify[!collectNumbers]{{a}*0+{b}}}\\\\&=0\\times e^\\var{b}\\\\&=0\\end{align}

\n

To find the gradient of the tangent we first need to find the first derivative of \\(y\\). Using the product rule we have: \\(\\frac{dy}{dx}=\\sin^{-1}(\\var{c}x)\\var{a}e^{\\simplify{{a}x +{b}}}+\\frac{\\var{c}}{\\sqrt{1-\\var{c^2}x^2}}e^{\\simplify{{a}x +{b}}}\\)

\n

Hence: \\begin{align}\\left.\\frac{dy}{dx}\\right|_{x=0}&=\\sin^{-1}(0)\\times\\var{a}e^{\\var{b}}+\\var{c}\\times e^{\\var{b}}\\\\&=\\var{c}e^{\\var{b}}\\end{align}

\n

The equation of the tangent can now be found using the point gradient formula which gives: \\begin{align}y-y_1&=m(x-x_1)\\\\y-0&=\\var{c}e^{\\var{b}}(x-0)\\\\y&=\\var{c}e^{\\var{b}}x\\\\&\\approx\\var{m}x\\end{align}

\n

Thus the equation of the tangent to \\(y=\\sin^{-1} (\\var{c}x)e^{\\simplify{{a}x +{b}}}\\) at \\(x=0\\) is the line \\(y=\\var{c}e^{\\var{b}}x\\approx\\var{m}x\\).

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "precround(c*e^b,2)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "m", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the equation of the tangent to the curve \\[ y=\\sin^{-1} (\\var{c}x)e^{\\simplify{{a}x +{b}}} \\] at the point where \\( x=0 \\). Include full working for the problem in your handwritten working.

\n

Equation of tangent: [[0]] (Round all numbers to 2 decimal places)

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Equation of tangent", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "y={m}x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Tangents 2", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

To find the equation of the tangent at \\(x=0\\) we need to find the value of \\(y\\) and \\(\\frac{dy}{dx}\\) when \\(x=0\\).

\n

We have: \\begin{align}y(0)&=\\tan^{-1}(\\var{c}\\times 0)e^{\\simplify[!collectNumbers]{{a}*0+{b}}}\\\\&=0\\times e^\\var{b}\\\\&=0\\end{align}

\n

To find the gradient of the tangent we first need to find the first derivative of \\(y\\). Using the product rule we have: \\(\\frac{dy}{dx}=\\tan^{-1}(\\var{c}x)\\var{a}e^{\\simplify{{a}x +{b}}}+\\frac{\\var{c}}{1+\\var{c^2}x^2}e^{\\simplify{{a}x +{b}}}\\)

\n

Hence: \\begin{align}\\left.\\frac{dy}{dx}\\right|_{x=0}&=\\tan^{-1}(0)\\times\\var{a}e^{\\var{b}}+\\var{c}\\times e^{\\var{b}}\\\\&=\\var{c}e^{\\var{b}}\\end{align}

\n

The equation of the tangent can now be found using the point gradient formula which gives: \\begin{align}y-y_1&=m(x-x_1)\\\\y-0&=\\var{c}e^{\\var{b}}(x-0)\\\\y&=\\var{c}e^{\\var{b}}x\\\\&\\approx\\var{m}x\\end{align}

\n

Thus the equation of the tangent to \\(y=\\tan^{-1} (\\var{c}x)e^{\\simplify{{a}x +{b}}}\\) at \\(x=0\\) is the line \\(y=\\var{c}e^{\\var{b}}x\\approx\\var{m}x\\).

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..9)", "description": "", "templateType": "anything", "can_override": false}, "m": {"name": "m", "group": "Ungrouped variables", "definition": "precround(c*e^b,2)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(2..9)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "m", "c"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the equation of the tangent to the curve \\[ y=\\tan^{-1} (\\var{c}x)e^{\\simplify{{a}x +{b}}} \\] at the point where \\( x=0 \\). Include full working for the problem in your handwritten working.

\n

Equation of tangent: [[0]] (Round all numbers to 2 decimal places).

", "gaps": [{"type": "jme", "useCustomName": true, "customName": "Equation of tangent", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "y={m}x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Applications 1", "extensions": ["geogebra"], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

The position of a particle, \\(y\\), is given by \\(y(t)=\\simplify{t^3-{0.5*(a+3*b)}t^2+{a*b}*t+{c}}\\) where \\(t\\) represents time in seconds. On your written working find the values of the position and acceleration of the particle when its velocity is \\(0\\). Using these results sketch the graph of \\(y(t)\\) for \\(0\\le t\\le \\var{max(a,b)+2}\\).

", "advice": "

We know that the velocity of the particle is given by \\begin{align}\\frac{dy}{dt}&=\\frac{d}{dt}\\left(\\simplify{{function}}\\right)\\\\&=\\simplify{{deriv}}\\end{align}

\n

This can be factorised as \\[\\frac{dy}{dt}=\\simplify{(3t-{a})(t-{b})}\\] and hence the velocity will be \\(0\\) when \\(t=\\simplify[collectNumbers,simplifyFractions,unitDenominator]{{a}/3}\\) and \\(t=\\var{b}\\).

\n

The acceleration of the particle is given by \\begin{align}\\frac{d^2y}{dt^2}&=\\frac{d}{dt}\\left(\\simplify{{deriv}}\\right)\\\\&=\\simplify{6t-({a}+{3*b})}\\end{align}

\n

Thus we have at \\(t=\\simplify[collectNumbers,simplifyFractions,unitDenominator]{{a}/3}\\), position \\(y=\\simplify{{rational(y_1)}}\\) metres, acceleration \\(\\left.\\frac{d^2y}{dt^2}\\right|_{t=\\simplify[collectNumbers,simplifyFractions,unitDenominator]{{a}/3}}=\\simplify{6*{a/3}-({a}+{3*b})}\\) ms\\(^{-2}\\)

\n

and at \\(t=\\var{b}\\), position \\(y=\\simplify{{rational(y_2)}}\\) metres, acceleration \\(\\left.\\frac{d^2y}{dt^2}\\right|_{t=\\var{b}}=\\simplify{6*{b}-({a}+{3*b})}\\) ms\\(^{-2}\\).

\n

Since velocity corresponds to the first derivative of position this means that we have stationary points at \\(\\left(\\simplify[collectNumbers,simplifyFractions,unitDenominator]{{a}/3},\\simplify{{rational(y_1)}}\\right)\\) and \\(\\left(\\var{b},\\simplify{{rational(y_2)}}\\right)\\).

\n

Further, since acceleration corresponds to the second derivative of position, we know, using the second derivative test that these points correspond to a maximum minimum and minimum maximum respectively.

\n

Thus the graph of \\(y=\\simplify{{function}}\\) is

\n

{applet()}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(0..9)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(0..9 except a/3)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9)", "description": "", "templateType": "anything", "can_override": false}, "function": {"name": "function", "group": "Ungrouped variables", "definition": "substitute([\"a\":a,\"b\":b,\"c\":c],expression(\"t^3-0.5*(a+3*b)*t^2+a*b*t+c\"))", "description": "", "templateType": "anything", "can_override": false}, "deriv": {"name": "deriv", "group": "Ungrouped variables", "definition": "diff(function,\"t\")", "description": "", "templateType": "anything", "can_override": false}, "y_1": {"name": "y_1", "group": "Ungrouped variables", "definition": "rational(eval(function,[\"t\":a/3]))", "description": "", "templateType": "anything", "can_override": false}, "y_2": {"name": "y_2", "group": "Ungrouped variables", "definition": "rational(eval(function,[\"t\":b]))", "description": "", "templateType": "anything", "can_override": false}, "function2": {"name": "function2", "group": "Ungrouped variables", "definition": "string(substitute([\"a\":a,\"b\":b,\"c\":c],expression(\"x^3-0.5*(a+3*b)*x^2+a*b*x+c\")))", "description": "", "templateType": "anything", "can_override": false}, "crit_1": {"name": "crit_1", "group": "Ungrouped variables", "definition": "precround(y_1,2)", "description": "", "templateType": "anything", "can_override": false}, "crit_2": {"name": "crit_2", "group": "Ungrouped variables", "definition": "precround(y_2,2)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "mod(a+b,2)=0", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "function", "deriv", "y_1", "y_2", "function2", "crit_1", "crit_2"], "variable_groups": [], "functions": {"applet": {"parameters": [], "type": "ggbapplet", "language": "javascript", "definition": "// Create the worksheet. \n// This function returns an object with a container `element` and a `promise` resolving to a GeoGebra applet.\nvar params = {\n material_id: 'dc2k2pqp',\n width: 900,\n height: 500\n};\n//geogebra_applet('qvh8vykm') old ggb file\n\nvar result = Numbas.extensions.geogebra.createGeogebraApplet(params);\n\n// Once the applet has loaded, run some commands to manipulate the worksheet.\nresult.promise.then(function(d) {\n var app = d.app;\n question.applet = d;\n app.setGridVisible(true);\n \n function setGGBPoint(name) {\n // moves point in GGB to location of Numbas Vector Variable\n var pt = question.scope.evaluate(name).value\n app.setFixed(name,false,false);\n app.setCoords(name, pt[0], pt[1]);\n app.setFixed(name,true,true);\n }\n\n function setGGBNumber(name) {\n // Sets number in GGB to a Numbas Variable\n var n = question.scope.evaluate(name).value;\n app.setValue(name,n);\n }\n \n //app.setAxesVisible(true,true);\n //app.showAlgebraInput(true);\n app.enableShiftDragZoom(true);\n var aggb = question.scope.evaluate(\"crit_1\").value;\n console.log(\"aggb = \"+aggb);\n var aggc = question.scope.evaluate(\"crit_2\").value;\n console.log(\"aggc = \"+aggc);\n app.setCoordSystem(-1,10,Math.min(aggb-5,aggc-5,0),Math.max(aggb+5,aggc+5,0)); // , , , \n //app.setCoordSystem(-1,10,Math.min(-50,20,0),Math.max(-20,30,0)); // , , , \n //app.setAxisSteps(1,0.25*Math.PI,1)\n //app.refreshViews();\n //app.evalCommand(\"ZoomIn[-1,-1,1,1]\"); // , , , \n //app.evalCommand(\"SetAxesRatio(1,1/20)\");\n //app.evalCommand(\"CenterView((0, 0))\"); //comment out if coordinates are not centred on (0,0)\n app.evalCommand(\"ShowAxes(true)\");\n app.evalCommand(\"ShowGrid(true)\");\n \n var rsggb = question.scope.evaluate(\"function2\").value; \n //console.log(\"rsggb= \"+rsggb);\n // var ratio=\"\";\n //if (rsggb==0) {\n //ratio=\"sin\";\n //} else if (rsggb==1) {\n // ratio=\"cos\"; \n //} else if (rsggb==2) {\n // ratio=\"tan\";\n // }\n \n //app.evalCommand(\"f=Curve(t,\" + aggb + \"*\" + ratio + \"(t), t, -2*pi, 2*pi)\");\n //app.evalCommand(\"ShowLabel(f,false)\");\n //app.evalCommand(\"SetColor(f,0,0,1)\");\n \n app.evalCommand(\"f=Function(\"+rsggb+\", x, 0, 10)\");\n app.evalCommand(\"ShowLabel(f,false)\");\n app.evalCommand(\"SetColor(f,0,0,1)\");\n \n});\n\n// This function returns the result of `createGeogebraApplet` as an object \n// with the JME data type 'ggbapplet', which can be substituted into the question's content.\nreturn new Numbas.jme.types.ggbapplet(result);"}}, "preamble": {"js": "", "css": ""}, "parts": [], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Implicit 1", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "

We need to use implicit differentiation since the function is not written in terms of \\(y\\) as a function of \\(x\\).

\n

Differentiating both sides and using the product rule on the first term we have \\begin{align}\\frac{d}{dx}\\left(\\simplify{x^{a}*y^{b}+{c}}\\cos y\\right)&=\\frac{d}{dx}\\left(y^\\var{d}\\right)\\\\\\simplify[!expandBrackets]{({b}x^{a}*y^{b-1})*(dy/dx)+{a}x^{a-1}*y^{b}+{c}*cos(y)*(dy/dx)}&=\\var{d}y^\\var{d-1}\\frac{dy}{dx}\\\\\\frac{dy}{dx}\\left(\\simplify{{b}x^{a}*y^{b-1}+{c}*cos(y)-{d}y^{d-1}}\\right)&=\\simplify{-{a}x^{a-1}*y^{b}}\\\\\\frac{dy}{dx}&=\\frac{\\simplify{-{a}x^{a-1}*y^{b}}}{\\simplify{{b}x^{a}*y^{b-1}+{c}*cos(y)-{d}y^{d-1}}}\\end{align}

", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything", "can_override": false}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-5..5 except 0)", "description": "", "templateType": "anything", "can_override": false}, "c": {"name": "c", "group": "Ungrouped variables", "definition": "random(-9..9 except 0)", "description": "", "templateType": "anything", "can_override": false}, "d": {"name": "d", "group": "Ungrouped variables", "definition": "random(-5..5 except [0, a])", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c", "d"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Find the rate of change of \\(y\\) with respect to \\(x\\) if \\[\\simplify{x^{a}*y^{b}+{c}}\\sin (y)=\\simplify{y^{d}}\\]

\n

\\(\\displaystyle{\\frac{dy}{dx}}=\\)[[0]]

\n

Note: To display \\(\\sin x\\) above type sin (x) and similar for other trig functions.

", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "answer": "(-{a}x^{a-1}*y^{b})/({b}x^{a}*y^{b-1}+{c}*cos(y)-{d}*y^{d-1})", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": true, "allowUnknownFunctions": false, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}]}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": false, "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": false, "showfrontpage": true, "showresultspage": "review", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": "ClassTest3"}, "timing": {"allowPause": false, "timeout": {"action": "warn", "message": "

Time out. Upload your handwriting answers to vUWS.

"}, "timedwarning": {"action": "warn", "message": "

You have 5 minutes left

"}}, "feedback": {"showactualmark": false, "showtotalmark": false, "showanswerstate": false, "allowrevealanswer": false, "advicethreshold": 0, "intro": "

There are a total of 30 marks available for this test with most marks being given to your handwritten working for each question. Total marks for each question will be

\n
    \n
  • Question 1 - 4 marks
  • \n
  • Question 2 - 4 marks
  • \n
  • Question 3 - 4 marks
  • \n
  • Question 4 - 6 marks
  • \n
  • Question 5 - 6 marks
  • \n
  • Question 6 - 6 marks
  • \n
\n

You must write your working for each question on paper. This must be scanned and uploaded to vUWS as a single PDF file within 10 minutes of the end of the test. The first page of your working should include your name and student number.

", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Don Shearman", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/680/"}, {"name": "Hanh Vo", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/12984/"}], "extensions": ["geogebra"], "custom_part_types": [], "resources": []}