0% found this document useful (0 votes)
14 views2 pages

Calculate Quarterback Pass Angle

The document describes the projectile motion of a football thrown by a quarterback to a wide receiver, detailing the mathematical equation governing its trajectory. It outlines the process of finding the angle at which the ball must be launched using both a user-defined BisectionRoot function and MATLAB's built-in fzero function, resulting in two roots for the angle. The first root is approximately 0.4524 radians and the second root is approximately 1.1267 radians.

Uploaded by

skibidipapap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Calculate Quarterback Pass Angle

The document describes the projectile motion of a football thrown by a quarterback to a wide receiver, detailing the mathematical equation governing its trajectory. It outlines the process of finding the angle at which the ball must be launched using both a user-defined BisectionRoot function and MATLAB's built-in fzero function, resulting in two roots for the angle. The first root is approximately 0.4524 radians and the second root is approximately 1.1267 radians.

Uploaded by

skibidipapap
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

1

3.29 A quarterback throws a pass to his wide receiver


running a route. The quarterback releases the ball at a
height of h Q . The wide receiver is supposed to catch the
ball straight down the field 60 ft away at a height of h R .
The equation that describes the motion of the football is
the familiar equation of projectile motion from physics:
1 x2g 1
y = x tan ( θ ) – --- -------
- ------------------- + h Q
2 v o2 cos2 ( θ )
where x and y are the horizontal and vertical distance, respectively, g = 32.2 ft/s2 is the acceleration due to
gravity, v o is the initial velocity of the football as it leaves the quarterback’s hand, and θ is the angle the
football makes with the horizontal just as it leaves the quarterback’s throwing hand. For v o = 50 ft/s,
x = 60 ft, h Q = 6.5 ft, and h R = 7 ft, find the angle θ at which the quarterback must launch the ball.
(a) Use the user-defined function BisectionRoot that was developed in Problem 3.16.
(b) Use MATLAB built-in function fzero.

Solution
x g 1 2
The solution is the root of the function f ( θ ) = x tan ( θ ) – 1--- ------- - + hQ – 7 .
- ------------------
2 2 v o cos ( θ )
2

A plot of the function (shown on the right) for the domain [ 0.1, 1.2 ] is obtained with MATLAB by typing:

>> fplot('60*tan(th)-60^2*32.2/(2*50^2*cos(th)^2)+6.5-7',[0.1,1.2])

The figure shows that the function has two roots in this domain. 15

One root between th = 0.4 rad and th = 0.6 rad, and one root 10

between th = 1.0 rad and th = 1.2 rad. 5

(a) To use the user-defined function BisectionRoot, given in 0

Problem 3.16, the following user-defined functions for -5

1 x2g 1 -10

f ( θ ) = x tan ( θ ) – --- -------


- ------------------- + h – y is written:
2 v o2 cos2 ( θ ) -15

-20

-25
function f = FunHW3_28(th) 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1

y = 7; x = 60; g = 32.2; h = 6.5; v = 50;


f = x*tan(th)-x^2*g/(2*v^2*cos(th)^2)+h-y;

Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis
for testing or instructional purposes only to students enrolled in courses for which the textbook
has been adopted. Any other reproduction or translation of this work beyond that permitted by
Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the
copyright owner is unlawful.
2

(a) In the Command Window, the user-defined function BisectionRoot is then used for finding the
roots. The first root:

>> Xs = BisectionRoot(@FunHW3_29,0.4,0.6)
Xs =
0.4524

The second root:

>> Xs = BisectionRoot(@FunHW3_29,1.0,1.2)
Xs =
1.1267
(b) Using MATLAB’s built-in fzero function (in the Command Window) to find the first root:

>> fzero(@FunHW3_29,0.4)
ans =
0.4524

The second root:

>> fzero(@FunHW3_28,1.0)
ans =
1.1267

Excerpts from this work may be reproduced by instructors for distribution on a not-for-profit basis
for testing or instructional purposes only to students enrolled in courses for which the textbook
has been adopted. Any other reproduction or translation of this work beyond that permitted by
Sections 107 or 108 of the 1976 United States Copyright Act without the permission of the
copyright owner is unlawful.

Common questions

Powered by AI

To find the angle θ for a projectile motion problem, one can use a custom root-finding function like BisectionRoot or MATLAB's built-in function fzero. First, define the projectile motion equation as a function, in this case, through the user-defined function FunHW3_28. With the BisectionRoot function, input the function and specify an interval where a root is expected, such as between 0.4 and 0.6 radians for the first root, yielding θ = 0.4524 radians, and between 1.0 and 1.2 radians for the second root, yielding θ = 1.1267 radians . Alternatively, use MATLAB's fzero function by passing the function handle and an initial guess, such as 0.4 for the first root and 1.0 for the second root, to obtain the same roots .

The height from which the projectile, such as a football, is released and the height at which it must arrive significantly affect the launch angle calculation. A higher release point or a lower target height can reduce the necessary launch angle since the projectile requires less upward trajectory to reach the target height. Conversely, a lower release height or higher target height necessitates a steeper launch angle to ensure the projectile covers the vertical distance needed to reach the specified point. Thus, changes in these heights modify the conditions of motion, influencing the angle required to achieve the desired trajectory .

Numerical methods like the BisectionRoot function are beneficial when dealing with complex equations for which analytical solutions are difficult or impossible to obtain. Projectile motion problems often involve transcendental equations that are not easily solvable with standard algebraic techniques. Numerical methods provide a systematic way to approximate solutions to any desired level of accuracy by iteratively narrowing down the interval in which a root lies. This flexibility makes numerical approaches like BisectionRoot advantageous in cases where analytical solutions are cumbersome or do not exist .

When defining a custom function for solving projectile motion problems in MATLAB, considerations include specifying the input parameters, such as velocity, angle, horizontal and vertical distances, and ensuring the function correctly implements the projectile motion equations. It's important to validate input to prevent errors and define output variables that reflect meaningful results. Additionally, ensuring the function is robust and can handle different scenarios or input ranges is crucial. Creating useful documentation and comments within the code can also aid understanding and usability. Careful design enhances the accuracy and applicability of the solution in varying contexts .

The equation of projectile motion is used to model the path of a football as it is thrown by a quarterback. In this context, the projectile motion accounts for factors such as the initial velocity, angle of release, height at which the ball is thrown, and the distance it must travel. For instance, in the given problem, the football is released 6.5 feet above the ground and must travel 60 feet horizontally to be caught 7 feet above the ground. By solving the equation derived from these conditions, we determine the angle of release, which is crucial for ensuring the ball reaches the desired target spot .

Gravity plays a crucial role in the equation of projectile motion as it acts as the constant downward acceleration affecting the trajectory of the projectile—in this case, a football. The gravitational acceleration, typically denoted as g (32.2 ft/s² in this context), influences the parabolic path of the projectile. It determines how quickly the object will reach its peak height and begin descending. Consequently, gravity affects the angle at which the football must be thrown to reach a specific horizontal distance at a particular height .

Projectile motion equations exemplify the principle of independence of motion by demonstrating that horizontal and vertical motions are independent of one another, though they occur simultaneously. The horizontal motion is uniform, as it depends solely on the horizontal component of the initial velocity and is unaffected by gravity. In contrast, the vertical motion is uniformly accelerated, impacted solely by gravity. Consequently, an object's horizontal position and movement in a projectile motion problem can be analyzed separately from its vertical motion, as codified in the different parts of the projectile motion equation .

While MATLAB's fzero function is a powerful tool for finding roots of equations, it relies on an initial guess to locate a root, which can be considered a limitation. If the initial guess is not within a suitable range, or if multiple roots are present and the guess is close to a different root, fzero might converge to the incorrect solution or fail to find a solution altogether. Additionally, fzero may not perform well for functions with discontinuities or very flat regions. Thus, its effectiveness can depend on the proper selection of initial values and understanding of the function's behavior .

The two roots of the projectile motion equation represent two different angles at which the quarterback can throw the football to achieve the same horizontal distance with the given vertical constraints. The first root, at a lower angle (θ = 0.4524 radians), suggests a flatter, more direct throw, likely to result in a faster pass. The second root, at a higher angle (θ = 1.1267 radians), indicates a loftier trajectory, which could be useful for getting the ball over defenders. Both angles achieve the end goal, but each has distinct tactical advantages depending on the situation .

Plotting the projectile motion equation before applying a root-finding algorithm is crucial for identifying intervals where roots are likely to exist. Visual analysis allows us to see the behavior of the function over a range of values, pinpoint regions where it crosses the x-axis, and thus where roots are located. This graphical insight ensures the selection of appropriate initial intervals, enhancing the success of algorithms like BisectionRoot, which require sign changes in the interval to converge to a root. Without this step, one might choose ineffective intervals, leading to incorrect results or failure to find a root .

You might also like