// Numbas version: finer_feedback_settings {"name": "SUVAT equations question 14", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"functions": {}, "ungrouped_variables": ["s", "a", "s2", "distance", "u", "t1", "t2"], "name": "SUVAT equations question 14", "tags": [], "advice": "

a)

\n

We are told that the ball is thrown upwards, so let the upwards direction be positive and gravity will act in the opposite direction, thus $a=-9.8$. At the ball's greatest height, $s=\\var{s}$, the velocity will be $v=0$ for an instant as the ball changes direction and falls downwards. We are trying to find the initial velocity of the ball, $u$. We have everything except $t$ so we can use the formula $v^2 = u^2 + 2as$, rearranged for $u$.

\n

\\begin{align} v^2 & = u^2 + 2as, \\\\
                        0   & = u^2 + \\left(2 \\times \\var{a} \\times \\var{s}\\right), \\\\
                         0  & = u^2 - \\var{2*-a*s}.
\\end{align}

\n

Therefore

\n

\\begin{align} u^2 &= \\var{2*-a*s}, \\\\
                                    u & = \\var{precround ((2*-a*s)^(1/2),3)} \\mathrm{ms^{-1}}.
\\end{align}

\n

The initial velocity of the ball is $ \\var{precround ((2*-a*s)^(1/2),3)} \\mathrm{ms^{-1}}.$

\n

b)

\n

We have now that $s=\\var{distance}$, $u = \\var{u}$ and $a=\\var{a}$. To find the time the ball is above $\\var{distance} \\mathrm{m}$ we need to find the time the ball first passes over $\\var{distance} \\mathrm{m}$ and the time it then falls back down past $\\var{distance} \\mathrm{m}$, and find the difference between those two times. To find these times we can use the formula $s=ut+\\frac{1}{2}at^2$, rearranged for $t$.

\n

We have 

\n

\\begin{align} s & = ut + \\frac{1}{2}at^2, \\\\
                                    \\var{distance} & = \\var{u}t - \\left( \\frac{1}{2} \\times \\var{-a} \\times t^2 \\right), \\\\
                                     4.9t^2 - \\var{u}t  + \\var{distance} & = 0.
\\end{align}

\n

Therefore our first $t$ value, when the ball first passes $\\var{distance} \\mathrm{m}$, is

\n

\\begin{align} t & = \\frac{\\var{u} + \\sqrt{\\var{u}^2 - \\left(4 \\times 4.9 \\times \\var{distance} \\right)} }{2 \\times 4.9}, \\\\
                            & = \\var{t1} \\mathrm{s}, 
\\end{align}

\n

and our second $t$ value, when the ball second passes $\\var{distance} \\mathrm{m}$, is 

\n

\\begin{align} t & = \\frac{\\var{u} - \\sqrt{\\var{u}^2 - \\left(4 \\times 4.9 \\times \\var{distance} \\right)} }{2 \\times 4.9}, \\\\
                            & = \\var{t2} \\mathrm{s}.
\\end{align}

\n

Then the total time for which the ball is $\\var{distance} \\mathrm{m}$ or more above $X$ is $\\var{t1} - \\var{t2} = \\var{t1-t2}$ seconds.

", "rulesets": {}, "parts": [{"precisionType": "dp", "prompt": "

Find the initial speed in $\\mathrm{ms^{-1}}$ (to 3 decimal places) of the ball when it is thrown.

", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "(2*9.8*s)^(1/2)", "minValue": "(2*9.8*s)^(1/2)", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}, {"precisionType": "dp", "prompt": "

Find the total time in $\\mathrm{s}$ for which the ball is $\\var{s-(15+s2)} \\mathrm{m}$ or more above $X$.

\n

Give your answer to 3 decimal places.

", "precisionMessage": "You have not given your answer to the correct precision.", "allowFractions": false, "variableReplacements": [], "precision": "3", "maxValue": "t1-t2+0.02", "minValue": "t1-t2-0.02", "variableReplacementStrategy": "originalfirst", "strictPrecision": false, "correctAnswerFraction": false, "showCorrectAnswer": true, "precisionPartialCredit": 0, "scripts": {}, "marks": 1, "type": "numberentry", "showPrecisionHint": false}], "extensions": [], "statement": "

A ball is thrown vertically upwards from a point $X$. The greatest height reached by the ball is $\\var{s} \\mathrm{m}$ above $X$. The acceleration due to gravity is $g = 9.8 \\mathrm{ms^{-2}}$.

", "variable_groups": [], "variablesTest": {"maxRuns": 100, "condition": "distance>0"}, "preamble": {"css": "", "js": ""}, "variables": {"a": {"definition": "-9.8", "templateType": "number", "group": "Ungrouped variables", "name": "a", "description": ""}, "distance": {"definition": "s-(15+s2)", "templateType": "anything", "group": "Ungrouped variables", "name": "distance", "description": "

total time for which the ball is distance or more above X

"}, "s2": {"definition": "random(0..10#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "s2", "description": ""}, "t2": {"definition": "precround((u-(u^2-19.6*distance)^(1/2))/9.8,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "t2", "description": ""}, "t1": {"definition": "precround((u+(u^2-19.6*distance)^(1/2))/9.8,3)", "templateType": "anything", "group": "Ungrouped variables", "name": "t1", "description": ""}, "s": {"definition": "random(40..80#1)", "templateType": "randrange", "group": "Ungrouped variables", "name": "s", "description": "

greatest height reached by the ball

"}, "u": {"definition": "precround((2*9.8*s)^(1/2),3)", "templateType": "anything", "group": "Ungrouped variables", "name": "u", "description": ""}}, "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/"}]}