Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please do this in python 3.8 and without numpy VA1 85% 10:14 Question 3 (10 Points) Write a well-documented, Python program, hmwk 1Q3.py that simulates

Please do this in python 3.8 and without numpy

image text in transcribed

VA1 85% 10:14 Question 3 (10 Points) Write a well-documented, Python program, hmwk 1Q3.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 mation is y(t) = ",t - 2. The physical parameter y = 9.8 Use Python lists to represent time i and the quantitles y(!).y() und y(1). The latter two quantities are instantaneous speeds and accelerations respectively. The instantaneaus speed is formed as an approximation y(t,) , . Similarly, the instantaneous acceleration is y(t,) ,l. Hints: Use the range-operator to form the time list from 0 to 5.1 seconds in increments of 100 ms. Lists for y(C) and Fe) will have one and two less elements, respectively, than the list for y(1). Accordingly, set the first term of y(0) - 25. Similarly, set the first two terms y(0) = 5(0.1) = 0. Gradina: Submit hmwk 1Q3.py to Canvas. maximum height yle) over the inten oints for calculating each list , yfe), (t) and y(t). Two-points for the correct Hmwk1Q3 Baseball Altitude/Speed Vs Time 30 20 -10 -20 time (N "Hmwk1Q3.png OPTIONAL - NOT TO BE TURNED IN Page 4

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

Students also viewed these Databases questions