// Numbas version: finer_feedback_settings {"name": "Projectile motion", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "feedback": {"showactualmarkwhen": "always", "showtotalmarkwhen": "always", "showanswerstatewhen": "always", "showpartfeedbackmessageswhen": "always", "allowrevealanswer": true, "showexpectedanswerswhen": "inreview", "showadvicewhen": "inreview"}, "question_groups": [{"pickingStrategy": "all-ordered", "questions": [{"name": "Projectile motion", "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

A catapult sits on a flat valley floor.  When the catapult files, the velocity of the rock it throws has a speed of {string(initial_speed)} m/s and an angle from the horizontal of {string{angle}}$^o$.

", "advice": "

Calculate the $u_x$ and $u_y$ component of the initial velocity.

\n

The component velocity in the x direction is given by: $u \\times cos( \\theta )$ = {initial_speed}*cos( {angle} ) = {u_x} m/s

\n

The component velocity in the y direction is given by: $u \\times sin( \\theta )$ = {initial_speed}*sin( {angle} ) = {u_y} m/s

\n

\n

Calculate the time when the projectile hits the ground.

\n

Since the final velocity $v_y = -u_y$, using $v_y = u_y + at$, you get the equation: $-u_y = u_y - gt$

\n

So, rearrange for time:  $t = \\frac{2u_y}{g}$

\n

So advice1 = {land_time}

\n

\n

Calculate the speed after {t1} seconds.

\n

The vertical velocity $u_y$ after (t1) s is:

\n

$v_y = u_y - gt$

\n

$v_y = ${u_y}$ - ${g}$\\times${t1}$ = ${v1}

\n

and $v_x$ remains the same  = {u_x} m/s

\n

\n

To find the magnitude of the resultant velocity vector:

\n

$v_1 = sqrt(v_{y1}^2+u_x^2) =$ SQRT( {vy1}$^2$ + {u_x}$^2$ = {v1} m/s 

", "rulesets": {}, "extensions": [], "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"initial_speed": {"name": "initial_speed", "group": "Ungrouped variables", "definition": "random(1.1..19.9#0.1 except 10)", "description": "", "templateType": "anything", "can_override": false}, "angle": {"name": "angle", "group": "Ungrouped variables", "definition": "random(10..80 except 45)", "description": "", "templateType": "anything", "can_override": false}, "u_x": {"name": "u_x", "group": "Ungrouped variables", "definition": "initial_speed*cos( radians(angle))", "description": "", "templateType": "anything", "can_override": false}, "u_y": {"name": "u_y", "group": "Ungrouped variables", "definition": "initial_speed*sin( radians(angle))", "description": "", "templateType": "anything", "can_override": false}, "g": {"name": "g", "group": "Ungrouped variables", "definition": "9.81", "description": "", "templateType": "anything", "can_override": false}, "land_time": {"name": "land_time", "group": "Ungrouped variables", "definition": "(2 u_y)/g", "description": "

v= u_y - gt

\n

v = -u_y

\n

t = (2 u_y)/g

", "templateType": "anything", "can_override": false}, "t1": {"name": "t1", "group": "Ungrouped variables", "definition": "random(0.01..land_time#0.01)", "description": "", "templateType": "anything", "can_override": false}, "vy1": {"name": "vy1", "group": "Ungrouped variables", "definition": "u_y-(g*t1)", "description": "", "templateType": "anything", "can_override": false}, "advice1": {"name": "advice1", "group": "Ungrouped variables", "definition": "\"$t = \\\\frac\\{2\"+(sigformat(u_y,3))+\"\\}\\{9.81\\}\"", "description": "

$t = \\frac{2u_y}{g}$

", "templateType": "anything", "can_override": false}, "v1": {"name": "v1", "group": "Ungrouped variables", "definition": "sqrt(vy1^2+u_x)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["initial_speed", "angle", "u_x", "u_y", "g", "land_time", "t1", "vy1", "advice1", "v1"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the $u_x$ component of the initial velocity.

", "minValue": "siground(u_x,3)-(siground(abs(u_x),3)*0.01)", "maxValue": "siground(u_x,3)+(siground(abs(u_x),3)*0.01)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the $u_y$ component of the initial velocity.

", "minValue": "siground(u_y,3)-(siground(abs(u_y),3)*0.01)", "maxValue": "siground(u_y,3)+(siground(abs(u_y),3)*0.01)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the time when the projectile hits the ground.

", "minValue": "siground(land_time,3)-(siground(abs(land_time),3)*0.01)", "maxValue": "siground(land_time,3)+(siground(abs(land_time),3)*0.01)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Calculate the speed after {t1} seconds.

", "minValue": "siground(v1,3)-(siground(abs(v1),3)*0.01)", "maxValue": "siground(v1,3)+(siground(abs(v1),3)*0.01)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "displayAnswer": "", "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always", "type": "question", "contributors": [{"name": "Tom Stallard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/841/"}], "resources": []}]}], "contributors": [{"name": "Tom Stallard", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/841/"}]}