PRGA Revised Coursework Assignment
PRGA Revised Coursework Assignment
Instructions
1) Solve the problem below and email the files to the instructor ([email protected]) by
November 26, 2012.
2) Include your student ID as part of the file name for every file you send, e.g. you may wish to
title your files f_50000.m, ID_50000.m, ID_50000.mws, etc if your ID# is 50000.
3) Only use alpha-numeric characters and underscores in your file title – no special characters,
punctuation or spaces.
4) The files you send must contain the programming code necessary to solve the given problem,
i.e. when executed, they must return the answers to the questions. Write your matlab
programs in such a way that they do not display unnecessary data.
Problem
A footballer attempts to score a goal directly from a free kick. The ball is placed 20m away from
the goal post as shown below. A wall is placed 9m from the ball. Considering air resistance, side
spin (curl) and gravity, the following differential equations describe the path of the ball.
dVx k
= − Vx − cVy
dt m
dVy k
= − Vy + cVx
dt m
dVz k
= − Vz − g
dt m
x
z – vertical
(out of page)
ball trajectory y
(9,0,0) wall
α
V0
θ – angle of
elevation
Assignments
1) Solve numerically in Matlab up to t = 1 second (use a time step of 0.01 seconds). [15 pts]
a. What are the values of y and z when the ball reaches the goal line (x = 20)?
b. What are the values of y and z when the ball reaches the wall (x = 9)?
c. Is the goalkeeper required to make a save?
d. How long does the ball take to reach the goal line (x = 20)?
5) Recently there has been a move to develop new footballs which offer lower air resistance. If
we decrease k to 0.05 Ns/m, how would the answers to question 1 change? [Bonus 5 pts]