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, 22.06.2019 10:30
In science and physics what is the standard unit of measure for speed?
Answers: 1
question
Physics, 22.06.2019 12:00
An architect plans to use solar energy to heat the next house he designs. what principle of absorption and infrared energy can be applied to the design of the new house? how could she apply to those principals?
Answers: 2
question
Physics, 22.06.2019 12:20
What is the coefficient of kinetic friction μk between the block and the tabletop?
Answers: 1
question
Physics, 23.06.2019 00:30
Which of the following is a true statement about the acceleration ~a of the pendulum bob ~a is equal to the acceleration due to gravity. ~a is perpendicular to the bob’s trajectory. ~a is equal to the instantaneous rate of change in velocity. ~a is tangent to the bob’s trajectory.
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, 06.12.2019 06:31
question
Mathematics, 06.12.2019 06:31
question
Mathematics, 06.12.2019 06:31
Questions on the website: 13722363