The trajectory of a ball thrown by a right fielder as defined in the (x,y) coordinates...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The trajectory of a ball thrown by a right fielder as defined in the (x,y) coordinates can be modeled as: y = x tan 180 x² + Yo 元 2v cos 180 where the angle at which the ball leaves the right fielder's hand is 0, = 22° , the initial velocity is v, = 52 mph, the distance between the right fielder and the catcher is 35 m, and the throw leaves the right fielder's hand at an elevation of 1.5 m. You must use g = 9.81 m/s? and the following conversion factors: 1 mile = 5280 feet and 1 meter = 3.28 feet. (a) Plot the function using the plot command in figure 1. Title the plot "MAE 284, Homework 3, Problem 1, Part a". Use the axis command to change the axis so that the x axis starts at 0 and goes to 35 meters and the y axis goes from 0 to 10 m. (b) If the catcher cannot reach above an elevation of 2 m, will she catch the ball? Use an fprintf statement to display the result (e.g. "The catcher can/cannot catch the ball"). (c) Compute the maximum height reached by the ball using each of the following methods. Use the fprintf function to print the result. For example, "The maximum height using goldmin is 19.0214618608 m". Display 10 digits to the right of the decimal point. i. Golden-section search (x; = 0, x, = 30, e, =2%) ii. Parabolic interpolation ( x = 10, x, = 20, x; 30, Max iterations = 3) i. MATLAB's fminbndwith the iterations displayed. Use the range 0 to the distance of the catcher. The trajectory of a ball thrown by a right fielder as defined in the (x,y) coordinates can be modeled as: y = x tan 180 x² + Yo 元 2v cos 180 where the angle at which the ball leaves the right fielder's hand is 0, = 22° , the initial velocity is v, = 52 mph, the distance between the right fielder and the catcher is 35 m, and the throw leaves the right fielder's hand at an elevation of 1.5 m. You must use g = 9.81 m/s? and the following conversion factors: 1 mile = 5280 feet and 1 meter = 3.28 feet. (a) Plot the function using the plot command in figure 1. Title the plot "MAE 284, Homework 3, Problem 1, Part a". Use the axis command to change the axis so that the x axis starts at 0 and goes to 35 meters and the y axis goes from 0 to 10 m. (b) If the catcher cannot reach above an elevation of 2 m, will she catch the ball? Use an fprintf statement to display the result (e.g. "The catcher can/cannot catch the ball"). (c) Compute the maximum height reached by the ball using each of the following methods. Use the fprintf function to print the result. For example, "The maximum height using goldmin is 19.0214618608 m". Display 10 digits to the right of the decimal point. i. Golden-section search (x; = 0, x, = 30, e, =2%) ii. Parabolic interpolation ( x = 10, x, = 20, x; 30, Max iterations = 3) i. MATLAB's fminbndwith the iterations displayed. Use the range 0 to the distance of the catcher.
Expert Answer:
Answer rating: 100% (QA)
clear all clc v40 h18 x100 y1 g981 format long f inlinex... View the full answer
Related Book For
Process Dynamics and Control
ISBN: 978-1119385561
4th edition
Authors: Dale E. Seborg, Thomas F. Edgar, Duncan A. Mellichamp, Francis J. Doyle
Posted Date:
Students also viewed these mechanical engineering questions
-
To attain maximum height for the trajectory of a projectile, what angle would you choose between 0 and 90, assuming that you can launch the projectile with the same initial speed independent of the...
-
The height above ground (in feet) of a ball thrown vertically into the air is given by S = 112t - 16t2 where t is the time in seconds since the ball was thrown. (a) Graph this equation with a...
-
Figure 12.34 shows the trajectory of a comet passing near the Sun. Describe how Newton would explain the deviation in the comets path from a straight line. Repeat the explanation as it might be given...
-
Discussion Post: Suppose you were considering investing in a Series I Bond. The bond will pay 5% interest. However, bond A compounds annually, and bond B compounds semiannually. Provide a detailed...
-
What are the general trends regarding public security issuance by U.S. corporations? Specifically, which security type is most often sold to the public? What is the split between initial and seasoned...
-
Apply the same steps as Lab 4 to the Lab 4 Alt.xlsx dataset performed in the chapter text. The dataset Lab 4 Alt.xlsx includes sales information of product A, B, C, D, E, F, and G in 2020. Estimate...
-
True stress is given by (a) \(\bar{\sigma}=\sigma(1+\varepsilon)\) (b) \(\bar{\sigma}=\frac{\sigma}{1+\varepsilon}\) (c) \(\bar{\sigma}=\sigma(1-\varepsilon)\) (d)...
-
Riviera Manufacturing, Inc., has the following flexible budget formulas and amounts: Sales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .$25 per...
-
You are currently an HR analyst at a top consumer goods company, in the head corporate office. One morning, you receive a memo from your manager of a sample of events that occurred in the month of...
-
In one-hundred words or less using Richard Daft and Robert Lengel's Media Richness Theory, define the theory then explain a situation where the inappropriate medium was used by YOU and what would...
-
Get data from Yahoo! Finance for Microsoft, McDonalds, and Johnson & Johnson for 2016-2021 and save them to .csv files.Then, give codes for a Python program that finds the portfolio weights on the...
-
What is a covenant? Give five examples.
-
What method of accounting is used for a joint venture?
-
Would an audit opinion be qualified if differential reporting is selected by a private corporation?
-
List some examples of behavior that might be considered abnormal among members of one cultural or economic group and normal by members of a different cultural or economic group. Suppose that most...
-
Why might a manager be tempted to adopt income smoothing as a financial reporting objective?
-
For the above single degree-of-freedom systems, determine: a) the kinematic analysis; b) the kinetic energy; c) the work; d) the acceleration marked on the figure; e) the dynamic reactions in the...
-
The trade-off theory relies on the threat of financial distress. But why should a public corporation ever have to land in financial distress? According to the theory, the firm should operate at the...
-
For the transfer functions (a) Derive an analytical expression for the step response to a unit step change. Evaluate the step-response coefficients, {S i }, for a sampling period of Ît = 1. (b)...
-
What differential equation model represents the parallel PID controller with a derivative filter? (a) Repeat for the series PID controller with a derivative filter. (b) Simulate the time response of...
-
A process has the transfer function, G(s) = 2e 2s / (s + 1). Compare the PI controller settings for the following design approaches: (a) IMC method ( c = 0.2) (b) IMC method ( c = 1.0) (c) ITAE...
-
In a test with a separating and throttling calorimeter, the following observations were made : Water separated \(=2.04 \mathrm{~kg}\) Steam discharged from throttling calorimeter \(=20.6...
-
Entropy of wet steam is given by (a) \(s_{f}+x s_{f g}\) (b) \(x s_{g}\) (c) \(s_{g}+s_{f g}\) (d) \(x s_{f}\)
-
Entropy of \(1 \mathrm{~kg}\) of water at \(T K\) is given by (a) \(c_{p w} \ln \frac{\mathrm{T}}{273}\) (b) \(c_{p w} \log \frac{\mathrm{T}}{273}\) (c) \(c_{p w} \ln \frac{\mathrm{T}}{273}\) (d)...
Study smarter with the SolutionInn App