Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The throwing of a football can be modeled using a projectile motion analysis from physics. h (0,0) The equations of motion can be combined algebraically

image text in transcribedimage text in transcribed

The throwing of a football can be modeled using a projectile motion analysis from physics. h (0,0) The equations of motion can be combined algebraically to yield an equation to determine the height of the ball, y, as a function of x and the initial conditions of the ball's release (height, h, initial speed vo and the angle of release ): 1 y = Dtane 1D2g +h 2 v cos20 The parameter g = 32.2 ft/s is the acceleration due to gravity. Write a "quarterback calculator" function that outputs the required angle(s) of release given an input vector of one or more throwing velocities (initial speeds) and the location (x, y) of the target down field. The function should accept the following inputs (in order): 1. A row vector of one or more throwing velocities (Vo) in ft/s 2. The height of release (h) in ft 3. The distance down field to the receiver (D) in ft 4. The height of the target catch (y) in feet 5. An initial guess for the numerical solution of in degrees (theta_guess) Your function should use fzero along with the input numerical guess to solve for the angle of release ( ) corresponding to each value of the throwing velocity. Your function should have the following output: A row vector of release angles ( a ) in degrees corresponding to each value of the input throwing velocity (also in row vector form). Function @ e Reset DI MATLAB Documentation 1 function [theta] = quarterback(vo, h, D, y, theta_guess) % This is where you write your code. 3 % Inputs and outputs are outlined in the problem descriptions. % Remember that you can change the names of variables, but not the order. 5 % Do not change the name of the function (quarterback). theta = 7 end 4 6

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions