// Numbas version: exam_results_page_options {"name": "SUVAT equations question 8", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "u", "s", "t1", "t2", "v1", "v2"], "name": "SUVAT equations question 8", "tags": [], "advice": "
a) & b) We have $a=\\var{a}$, $u=\\var{u}$ and $s=\\var{s}$. The ball is decelerating so acceleration is negative.
\nWe are trying to find the time $t$, so we use the formula $s=ut+\\frac{1}{2}at^2$. As this is a quadratic it will have two solutions, so we will solve for $t$ then input the smallest value as our answer for part a) and the other for part b).
\nThe formula becomes $\\frac{1}{2}at^2 + ut - s = 0$, from this we can use the quadratic formula to solve for the two values of $t$.
\na) $ t = \\frac{-u + \\sqrt{u^2 + 2as}}{a} = \\frac{-\\var{u} + \\sqrt{\\var{u}^2 +\\left(2\\times \\var{a} \\times \\var{s}\\right)}}{\\var{a}} = \\var{precround(t2,3)} \\mathrm{s}.$
\nThe shortest time it takes for the ball to pass through point $B$ is $\\var{precround(t2,3)} \\mathrm{s}$.
\nb) $ t = \\frac{-u - \\sqrt{u^2 + 2as}}{a} = \\frac{-\\var{u} - \\sqrt{\\var{u}^2 +\\left(2\\times \\var{a} \\times \\var{s}\\right)}}{\\var{a}} = \\var{precround(t1,3)} \\mathrm{s}.$
\nThe other time the ball passes through point $B$ is $\\var{precround(t1,3)} \\mathrm{s}$.
\nc) We now need the velocity $v$, and as we have two values for $t$ we can use the formula $v= u +at$ with both these values to calculate our two velocities. Using $t=\\var{precround(t2,3)}$ we get
\\begin{align} v &= u + at, \\\\
&=\\var{u} + \\left(\\var{a}\\times\\var{precround(t2,3)}\\right), \\\\
&= \\var{precround(u+a*precround(t2,3),3)} \\mathrm{ms^{-1}}. \\end{align}
This is positive, therefore the ball is travelling at $\\var{precround(u+a*precround(t2,3),3)} \\mathrm{ms^{-1}}$ in the direction $\\simplify{vec:AB}$.
\nd) Following the same method as part c) only now using $t=\\var{precround(t1,3)}$ we get
\\begin{align} v &= u + at, \\\\
&=\\var{u} + \\left(\\var{a}\\times\\var{precround(t1,3)}\\right), \\\\
&= \\var{precround(u+a*precround(t1,3),3)} \\mathrm{ms^{-1}}. \\end{align}
This is negative, therefore the ball is travelling at $\\var{-(precround(u+a*precround(t1,3),3))} \\mathrm{ms^{-1}}$ in the direction $\\simplify{vec:BA}$.
\ne) The ball returns to point $A$ when $s=0$, so the displacement from the initial position is $0 \\mathrm{m}$.
We also have $u=\\var{u}$ and $a=\\var{a}$ and we are trying to find the time, $t$. Therefore we can use the formula $s=ut+\\frac{1}{2}at^2$ with $s=0$.
This becomes \\begin{align} ut+\\frac{1}{2}at^2 &= 0, \\\\
t(u + \\frac{1}{2}at) &= 0.
\\end{align}
We need to discard the solution $t=0$ (which represents the starting position of the ball) so we have $u + \\frac{1}{2}at=0$. Solving for $t$ this gives
\\begin{align} t & = - \\frac{2}{a}u, \\\\
&= \\frac{2}{\\var{-a}}\\times \\var{u}, \\\\
& = \\var{precround(-(2/a)*u,3)}\\mathrm{s}. \\end{align}
So the time taken for the ball to return to point $A$ is $\\var{precround(-(2/a)*u,3)} \\mathrm{s}$.
\n", "rulesets": {}, "parts": [{"precisionType": "dp", "prompt": "Find the shortest time in $\\mathrm{s}$ (to 3d.p.) when the ball rolls through $B$. This will be in the direction $\\simplify{vec:AB}$.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "t2", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "t2", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "Find the longest time in $\\mathrm{s}$ (to 3d.p.) when the ball rolls through $B$. This will be in the direction $\\simplify{vec:BA}$.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "t1", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 0, "minValue": "t1", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "Find the velocity in $\\mathrm{ms^{-1}}$ (to 3d.p.) of the ball when it rolls through $B$ in the direction $\\simplify{vec:AB}$.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "u+a*precround(t2,3)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 0, "minValue": "u+a*precround(t2,3)", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "Find the velocity in $\\mathrm{ms^{-1}}$ (to 3d.p.) of the ball when it rolls through $B$ in the direction $\\simplify{vec:BA}$.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "u+a*precround(t1,3)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "u+a*precround(t1,3)", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "Find the time in $\\mathrm{s}$ (to 3d.p.) other than $t=0$ when the ball returns to point $A$.
", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "(-2*u)/a", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "(-2*u)/a", "type": "numberentry", "showPrecisionHint": false}], "extensions": [], "statement": "A ball rolls in a straight horizontal line with constant decelaration $\\var{-a} \\mathrm{ms^{-2}}.$ At time $t=0$ the ball rolls past a point $A$ with speed $\\var{u} \\mathrm{ms^{-1}}$, travelling towards a point $B$ that is $\\var{s} \\mathrm{m}$ away, before returning in the direction of point $A$.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "[u^2+2*a*s>0, t1>t2, -u+(u^2+2*a*s)^(1/2)<0, t1>0, t2>0]"}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "random(-5..-0.5#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "a", "description": "acceleration - negative so deceleration is positive
"}, "t2": {"definition": "(-u+(u^2+2*a*s)^(1/2))/a", "templateType": "anything", "group": "Ungrouped variables", "name": "t2", "description": ""}, "v2": {"definition": "u+a*t1", "templateType": "anything", "group": "Ungrouped variables", "name": "v2", "description": "velocity moves in opposite direction
"}, "t1": {"definition": "(-u-(u^2+2*a*s)^(1/2))/a", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": "largest time
"}, "v1": {"definition": "u+a*t2", "templateType": "anything", "group": "Ungrouped variables", "name": "v1", "description": "largest velocity moves in postive direction
"}, "s": {"definition": "random(3..10#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "s", "description": "distance between A and B
"}, "u": {"definition": "random(13..25#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "u", "description": "initial velocity at point A
"}}, "metadata": {"description": "", "licence": "Creative Commons Attribution 4.0 International"}, "type": "question", "showQuestionGroupNames": false, "question_groups": [{"name": "", "pickingStrategy": "all-ordered", "pickQuestions": 0, "questions": []}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}]}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}]}