// Numbas version: finer_feedback_settings {"name": "SUVAT equations question 13", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["a", "s", "u", "t", "t2", "max_height"], "name": "SUVAT equations question 13", "tags": [], "preamble": {"css": "", "js": ""}, "advice": "
You can model the ball as a particle moving in a straight line with constant acceleration of magnitude $9.8 \\mathrm{ms}^{-2}$ due to gravity. As the ball is thrown upwards, we take the positive direction as pointing upwards.
\nWe are told $u=\\var{u}$ and $a=\\var{a}$ and we are asked to find the greatest height, $s$, reached by the ball. At its greatest height, the ball will for an instant have a velocity of $v=0$ before it starts to fall back down.
\nTherefore we can use the equation $v^2=u^2+2as$, rearranged for $s$.
\nNote that the rooftop is $\\var{s} \\mathrm{m}$ above ground level, so the distance travelled by the ball to its greatest height is $(\\simplify{s-{s}}) \\mathrm{m}$.
\n\\begin{align} v^2 & =u^2+2a(s-\\var{s}), \\\\
2a(s-\\var{s}) & = v^2-u^2, \\\\
s-\\var{s} & = \\frac{v^2-u^2}{2a}, \\\\
& = \\frac{0 - \\var{u}^2}{2 \\times \\var{a}}, \\\\
& = \\var{precround(-u^2/(2*a),3)}, \\\\
s &= \\simplify[]{{s}+{precround(-u^2/(2*a),3)}}, \\\\
&= \\var{precround(max_height,3)} \\mathrm{m}.
\\end{align}
The greatest height reached by the ball is $\\var{precround(max_height,3)} \\mathrm{m}$.
\nThe flight time of the ball is the length of time between it being thrown from the rooftop and when it hits the ground below.
\nHere, the rooftop is $\\var{s}\\mathrm{m}$ above the ground, therefore the ball will stop moving when it hits the ground at a height $\\var{-s} \\mathrm{m}$ from its original position.
\nTherefore we can use the equation $s=ut+\\frac{1}{2}at^2$ rearranged for $t$.
\n\\begin{align} s & = ut + \\frac{1}{2}at^2, \\\\
-\\var{s} & = \\var{u}t - \\frac{49}{10}t^2, \\\\
\\frac{49}{10}t^2 - \\var{u}t - \\var{s} &= 0.
\\end{align}
Using the quadratic formula, taking only the positive term as we are modelling time, this gives
\n\\begin{align} t & = \\frac{u + \\sqrt{u^2 +19.6s)}}{9.8}, \\\\
& = \\frac{\\var{u} + \\sqrt{\\var{u^2} + \\left(19.6 \\times \\var{s}\\right)}}{9.8}, \\\\
& = \\var{precround((u+ (u^2 + 19.6*s)^(1/2))/9.8,3)} \\mathrm{s}.
\\end{align}
The flight time of the ball is $\\var{precround((u+ (u^2 + 19.6*s)^(1/2))/9.8,3)}$ seconds.
", "rulesets": {}, "parts": [{"precisionType": "dp", "prompt": "Find the greatest height in $\\mathrm{m}$ (to 3d.p.) above the ground reached by the ball.
", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "max_height", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "max_height", "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "The time in $mathrm{s}$ (to 3d.p.) of flight of the ball, before it lands on the ground.
", "precisionMessage": "You have not given your answer to the correct precision.
", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "t2", "variableReplacementStrategy": "originalfirst", "strictPrecision": true, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "minValue": "t2", "type": "numberentry", "showPrecisionHint": false}], "extensions": [], "statement": "A ball is thrown vertically upwards with a speed $\\var{u} \\mathrm{ms^{-1}}$ from a rooftop which is $\\var{s} \\mathrm{m}$ above ground. The acceleration due to gravity is $g = 9.8 \\mathrm{ms^{-2}}$.
", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": ""}, "variables": {"a": {"definition": "-9.8", "templateType": "number", "group": "Ungrouped variables", "name": "a", "description": "Acceleration due to gravity with upwards as positive direction
"}, "t2": {"definition": "precround(t,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "t2", "description": "time to 3d.p.
"}, "max_height": {"definition": "u^2/(2*(-a))+s", "templateType": "anything", "group": "Ungrouped variables", "name": "max_height", "description": ""}, "s": {"definition": "random(5..15#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "s", "description": "distance of rooftop above ground
"}, "u": {"definition": "random(10..30#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "name": "u", "description": "initial velocity ball is thrown at
"}, "t": {"definition": "(u+(u^2+19.6*s)^(1/2))/9.8", "templateType": "anything", "group": "Ungrouped variables", "name": "t", "description": ""}}, "metadata": {"description": "A ball is thrown vertically upwards from a position above ground level. Find its greatest height, and the total time its in the air.
", "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/"}]}