Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following equations can be used to model projectile motion: x=v0xty=v0yt+2gt2 In this equation, x and y are the horizontal and vertical displacements, v0x and

image text in transcribed

The following equations can be used to model projectile motion: x=v0xty=v0yt+2gt2 In this equation, x and y are the horizontal and vertical displacements, v0x and v0y are the horizontal and vertical components of the initial velocity, t is time, g is the acceleration due to gravity (9.81m/s2). a) Assign the horizontal velocity v_0x as 30m/s and the initial vertical velocity v_0 as 20m/s. Assign the horizontal distance to the home run boundary, HR_h as 60 meters and vertical distance, HR_v as 4 meters. Assign horizontal displacement of the ball to x and the vertical displacement of the ball to y using the equations above for times t: 0 to 5 seconds with increments of 0.1 seconds. b) On a 21 subplot grid, plot the time t vs. horizontal displacement x with a vertical line at the distance needed for a homerun. Then, plot the vertical displacement y vs. time t with a horizontal line at the height needed for a homerun. Hint: use doc in your Command Window to read about 'xline' and 'yline'. c) Title the plots 'Softball Hit Horizontal Displacement' and 'Softball Hit Vertical Displacement', respectively. Make sure to label the x-axis and y-axis for each plot as well. Through inspection of the plots, did the player hit a home run? Comment this in your code

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_2

Step: 3

blur-text-image_3

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

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions