Answered step by step
Verified Expert Solution
Question
1 Approved Answer
13.1 Exercises Exercise 13.1 The flight of a baseball is governed by three forces: gravity, drag due to air resistance, and Magnus force due to
13.1 Exercises Exercise 13.1 The flight of a baseball is governed by three forces: gravity, drag due to air resistance, and Magnus force due to spin. If we ignore wind and Magnus force, the path of the baseball stays in a plane, so we can model it as a projectile in two dimensions. A simple model of the drag of a baseball is: where Fa is a vector that represents the force on the baseball due to drag, Ca is the drag coefficient (0.3 is a reasonable choice), is the density of air (1.3 kg/m 3 at sea level), A is the cross sectional area of the baseball (0.0042 m2), is the magnitude of the velocity vector, and V is a unit vector in the direction of the velocity vector. The mass of the baseball is 0.145 kg. In your solutions, consider initial baseball velocities over the range 50 to 100 mph (miles per hour), and launch angles between 30 and 50 degrees. As a starting point, use our human canonball example, Example 12.4 and Exercise 12.1 For more information about drag, see http://en.wikipedia.org/wiki/Drag_(physics). 1. Write a function that takes the initial velocity of the baseball and the launch angle as input variables, uses ode45 to compute the trajectory, and returns the range (horizontal distance in flight) as an output variable. 2. Write a function that takes the initial velocity of the baseball as an input variable computes the launch angle that maximizes the range, and returns the optimal angle and range as output variables. How does the optimal angle vary with initial velocity? Hint: Start with your solution to the first part. Create a for loop to loop over angles from 30 to 50 degrees in increments of 5 degrees, and use your function from the first part to compute the distance traveled. 3. When the Red Sox won the World Series in 2007, they played the Colorado Rockies at their home field in Denver, Colorado. Find an estimate of the density of air in the Mile High City. What effect does this have on drag? Make a prediction about what effect this will have on the optimal launch angle, and then use your simulation
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started