Question: should be in Python Question 1 (5 points) The following equations D = v*t* cos(0) y=h+v*t* sin(0) 0.5*g*? are used to calculate the x and

should be in Python  should be in Python Question 1 (5 points) The following equations
D = v*t* cos(0) y=h+v*t* sin(0) 0.5*g*? are used to calculate the

Question 1 (5 points) The following equations D = v*t* cos(0) y=h+v*t* sin(0) 0.5*g*? are used to calculate the x and y coordinates of a projectile object at time to given the object's initial velocity, vand angle. O with initial position x = 0 and y = h. Note: In this equation, the value of O is in radian and 1 = (1/180) Write the following functions 1. Convert_degree_to_radian(angle): The parameter value is in degree and calculates the radian value for the angle. Then returns the radian angle value, 2.new.co ordt, theta, v. g, h): Calculates the x and y coordinates of the object at time t using the equations above. Here h is the objects initial hoighe di natal ordinatel Then returns the newly calculated x and y co-ordinates 3 Driver: 3. Driver(): a. Asks the user for the object's initial velocity, angle, and height (y position) b. Convert the angle to radian by calling appropriate function and saving the return value in a variable c. Prints the object's position for every second until the object's y position is no longer greater than 0 (meaning the object fell back to Earth). The position of the object at every second should be shown in the following format: Time

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!