subject
Physics, 29.08.2019 22:20 ProfS3770

Define init-speed and init-angle as program variables. use an initial speed of 1 and an initial angle of pi/4 to start. once your program is running, you should try using different values to see how your animation behaves. note here that we are using an angle specified in radians. since only the initial speed will be specified, you will need to calculate the x and y components of the initial velocity. these may be calculated via init-x-vel = init-speed * cos(init-angle) init-y-vel = init-speed * sin(init-angle)
exercise 2 define the initial horizontal velocity init-x-vel and the initial vertical velocity init-y-vel using the initial speed init-speed and the initial angle init-angle. we define the initial speed and velocity components (horizontal and vertical) as numbers rather than functions because they do not change over time. the rocket experiences a gravitational acceleration in the vertical direction. therefore, the vertical position of the rocket is this function of the time t: vertical position = init-y-vel * t - 1/2 * 0.002 * t * t where init-y-vel is the initial velocity in the vertical direction, and 0.002 is the gravitational acceleration, which is a constant.

ansver
Answers: 3

Another question on Physics

question
Physics, 21.06.2019 22:00
•• al and bert are jogging side-by-side on a trail in the woods at a speed of 0.75 m/s. suddenly al sees the end of the trail 35 m ahead and decides to speed up to reach it. he accelerates at a constant rate of 0.50 m/s2, while bert continues on at a constant speed. (a) how long does it take al to reach the end of the trail? (b) once he reaches the end of the trail, he immediately turns around and heads back along the trail with a constant speed of 0.85 m/s. how long does it take him to meet up with bert? (c) how far are they from the end of the trail when they meet?
Answers: 3
question
Physics, 22.06.2019 07:30
This is the substance(s) formed in a chemical reaction.
Answers: 1
question
Physics, 22.06.2019 10:30
What is the speed of an object at a given moment?
Answers: 3
question
Physics, 22.06.2019 20:10
On a frictionless air track, a blue glider with mass 0.200 kg is moving to the right with a speed of 8.00 m/s. it strikes a red glider that has mass 0.600 kg and that is initially at rest. after the collision, the blue glider is moving to the left with a speed of 3.00 m/s.(a) what are the magnitude and direction of the velocity of the red glider after the collision? (b) is this collision elastic?
Answers: 1
You know the right answer?
Define init-speed and init-angle as program variables. use an initial speed of 1 and an initial angl...
Questions
question
Mathematics, 11.07.2021 08:20
question
Mathematics, 11.07.2021 08:20
question
Physics, 11.07.2021 08:20
question
Mathematics, 11.07.2021 08:40
question
Biology, 11.07.2021 08:40
question
Biology, 11.07.2021 08:40
question
Mathematics, 11.07.2021 08:40
Questions on the website: 13722361