Question: plot is not necessary just a simple programming using range operator Question 3 (10 Points) Write a well-documented, Python program, hmwkIQ3. py that simulates tossing
plot is not necessary just a simple programming using range operatorQuestion 3 (10 Points) Write a well-documented, Python program, hmwkIQ3. py that simulates tossing a baseball, straight-up, in the air. The speed imparted to the baseball is v, - 25 m/s. The equation of motion is y(t)-v,t -t. The physical parameter g- 98 Use Python lists to represent time t and the quantities y(t), y(t) and y(t). The latter two quantities are instantaneous speeds and accelerations respectively. The instantaneous speed is formed as an approximation y(t.) XGExal Similarly, the instantaneous acceleration is y(t,) AA. Hints: Use the range-operator to form the time list from o to 5.1 seconds in increments of 100 ms. Lists for y(t) and y(t) will have one and two less elements, respectively, than the list for y(t). Accordingly, set the first term of y(0) - 25. Similarly, set the first two terms y(0) - y(0.1) - 0. Grading: Submit hmwk 1Q3. py to Canvas. Two-points for calculating each list t, y(r), y(t) and y(e). Two-points for the correct maximum height y(t) over the interval. Hmwk103 Baseball Altitude/Speed Vs Time -10 -20 time (s) dist (my rate (m/s)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
