// Numbas version: finer_feedback_settings {"name": "Simon's copy of SUVAT equations question 13", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"preamble": {"js": "", "css": ""}, "advice": "

a)

\n

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.

\n

We 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.

\n

Therefore we can use the equation $v^2=u^2+2as$, rearranged for $s$.

\n

Note 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}

\n

The greatest height reached by the ball is $\\var{precround(max_height,3)} \\mathrm{m}$.

\n

b)

\n

The flight time of the ball is the length of time between it being thrown from the rooftop and when it hits the ground below.

\n

Here, 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.

\n

Therefore 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}

\n

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}

\n

The flight time of the ball is $\\var{precround((u+ (u^2 + 19.6*s)^(1/2))/9.8,3)}$ seconds.                     

", "variablesTest": {"condition": "", "maxRuns": 100}, "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}}$.

", "name": "Simon's copy of SUVAT equations question 13", "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"}, "functions": {}, "variables": {"t": {"name": "t", "definition": "(u+(u^2+19.6*s)^(1/2))/9.8", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "max_height": {"name": "max_height", "definition": "u^2/(2*(-a))+s", "templateType": "anything", "group": "Ungrouped variables", "description": ""}, "a": {"name": "a", "definition": "-9.8", "templateType": "number", "group": "Ungrouped variables", "description": "

Acceleration due to gravity with upwards as positive direction

"}, "s": {"name": "s", "definition": "random(5..15#1)", "templateType": "randrange", "group": "Ungrouped variables", "description": "

distance of rooftop above ground

"}, "t2": {"name": "t2", "definition": "precround(t,3)", "templateType": "anything", "group": "Ungrouped variables", "description": "

time to 3d.p.

"}, "u": {"name": "u", "definition": "random(10..30#0.5)", "templateType": "randrange", "group": "Ungrouped variables", "description": "

initial velocity ball is thrown at

"}}, "tags": [], "variable_groups": [], "extensions": [], "rulesets": {}, "ungrouped_variables": ["a", "s", "u", "t", "t2", "max_height"], "parts": [{"strictPrecision": false, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "precisionPartialCredit": 0, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "precisionType": "dp", "precisionMessage": "

You have not given your answer to the correct precision.

", "precision": "3", "showPrecisionHint": false, "prompt": "

Find the greatest height in $\\mathrm{m}$ (to 3d.p.) above the ground reached by the ball.

", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "minValue": "max_height", "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "maxValue": "max_height", "allowFractions": false}, {"strictPrecision": true, "showCorrectAnswer": true, "extendBaseMarkingAlgorithm": true, "mustBeReduced": false, "marks": 1, "scripts": {}, "correctAnswerFraction": false, "unitTests": [], "precisionPartialCredit": 0, "showFeedbackIcon": true, "variableReplacements": [], "customMarkingAlgorithm": "", "precisionType": "dp", "precisionMessage": "

You have not given your answer to the correct precision.

", "precision": "3", "showPrecisionHint": false, "prompt": "

The time in $\\mathrm{s}$ (to 3d.p.) of flight of the ball, before it lands on the ground.

", "mustBeReducedPC": 0, "variableReplacementStrategy": "originalfirst", "type": "numberentry", "minValue": "t2", "correctAnswerStyle": "plain", "notationStyles": ["plain", "en", "si-en"], "maxValue": "t2", "allowFractions": false}], "type": "question", "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}]}], "contributors": [{"name": "Amy Chadwick", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/505/"}, {"name": "Simon Thomas", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/3148/"}]}