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...
-
Ullie Medical Supply is a retailer of home medical equipment. Last year, Ullies sales reve-nues totaled $ 6,800,000. Total expenses were $ 2,600,000. Of this amount, approximately $ 1,088,000 were...
-
Use a financial calculator or computer software program to answer the following questions: a. What would be the future value (FV) of $7,455 invested annually for nine years beginning one year from...
-
Repeat Problem 15.D27, but bulb 2 at \(\mathrm{z}=\delta\) contains \(\mathrm{y}_{\mathrm{air}}=0.610, \mathrm{y}_{\mathrm{H} 2}=0.010\), and \(\mathrm{y}_{\mathrm{NH} 3}=0.380\). Problem 15.D27 This...
-
1. Describe each of the financial shenanigans used by Nortel and how they manipulated earnings. 2. What were the motivating factors that led to the fraud at Nortel? How should the auditors have...
-
a company doest currently pay dividends. you expect the company to begin paying $4 per share dividend in 15 years and you expect dividends to grow perpetually at 5.5 % per year thereafter. if the...
-
Derive and solve the equation of motion for the mass m in terms of the variable x for the system shown. Neglect the mass of the lever AOC and assume small oscillations. C k2 k1 ww TxB = bo cos ot A a
-
Catapult Company has a current book value of $35 per share. As the result of an innovative product, the company earned an ROE of 14 percent. An analyst studying Catapult has estimated that the 14...
-
a) The interest rate for Mary's loan is 12=i12=5.8%. Calculate the effective monthly rate. Give your answer as a percentage to 4 decimal places. b) Calculate the effective fortnightly rate. Give your...
-
BC Ltd manufactures a single product; the standard costs per unit being variable manufacturing $9.50, fixed manufacturing $6. Selling and administrative costs are $2 per unit sold. The selling price...
-
Jansen Corp. uses machine hours as a base for its factory overhead rate. The following information is available for the year 2030: Budgeted Machine hours 273,000 hr. Factory Overhead Rate P5.00/mhr....
-
Classify the following items as per their respective category with regards to value chain, quality cost, activity based costing and theory of constraints. The items given are mismatched and needs to...
-
Explain what conflicts can arise within the firm between stockholders and managers, and between stockholders and bondholders, and discuss the techniques that firms can use to mitigate these potential...
-
The =operator() function overloads the assignment operator True False A derived class is also called a subclass or descendant. True False No matter which access specified you use when creating a...
-
Tiger, Inc. signed a lease for equipment on July 1, 2007.The lease is for 10 years (the useful life of the asset).The first of 10 equal annual payments of $500,000 was made on July 1, 2007.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...
-
Three years ago, Girston Gravel Pit purchased a material conveyor system. The company has decided to sell the system and acquire more advanced technology. Data relating to the existing system follow....
-
You have just purchased a new car, making a down payment of \(\$ 8,000\) and financing the balance of the purchase cost on an installment credit plan. According to the credit agreement, you will pay...
-
Although they should be considered independently, investing and financing decisions are often considered together. Consider the case of a consumer acquiring a new car. The consumer can purchase a car...
Study smarter with the SolutionInn App