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 16:30
Which of the following would not be taken into consideration when describing the quality of a sound
Answers: 2
question
Physics, 22.06.2019 16:00
In which of the following is positive work done by a person on a suitcase
Answers: 1
question
Physics, 22.06.2019 19:30
Acamcorder has a power rating of 20 watts. if the output voltage from its battery is 9 volts, what current does it use?
Answers: 2
question
Physics, 22.06.2019 23:00
1which body contains the majority of the mass in the solar system earth jupiter the moon the sun 2 what keeps the objects in the solar system such as planets orbiting around the sun the force of gravity the galaxy exerts on all objects within it including the solar system the great distance between the sun and the planets the sun's nuclear fusion which acts on each object the gravitational force between the sun and each object in the solar system
Answers: 2
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
Questions on the website: 13722359