subject

The Angry Bird Decision Plan and create a program that takes user input, uses Python looping procedures to calculate the required output, and format the output for the user. Red, our Angry Bird friend, will be shot from a catapult again. This time, you've been given the equation that projects his trajectory based on his initial velocity (vo), his angle of launch (O), and the acceleration due to gravity gx y = x tantheta - gx^2/2vo^2 cos^2 theta
You've been informed that the wall he must knock down is 202.3 m away
a. Take user input for Red’s initial velocity (for testing, start with 45 m/s).
b. For the input velocity, at what angle must your catapult be set to reach the wall at a height of 1 m (+/- 0.1m)? Use Earth’s gravity. Start at 0 degrees, and increase the angle until the required condition is met. Not all initial velocities will have a solution; in these cases, tell the user there is no solution for Red.
c. Plot his trajectory. Use the instructions from Lab05, Activity 3 for help in creating the plot. Do not create a plot if there is no solution for the velocity the user input.
d. This was on Earth, what if we move to Mars? e. Report to the user the angle you calculated and the height of impact for both Earth and Mars.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:00, osirisarellane3792
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
image
Computers and Technology, 24.06.2019 00:00, babysisjessica1
For the following example of making a peanut butter and jelly sandwich, identify which are inputs, processes, or outputs: bread scooping and spreading peanut butter plate scooping and spreading jelly finished sandwich putting two pieces of covered bread together dirty plate crumbs
Answers: 2
image
Computers and Technology, 24.06.2019 02:30, cardsqueen
Which option completes the explanation for conflict of interest in an organization
Answers: 1
image
Computers and Technology, 24.06.2019 10:50, latresyn
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
You know the right answer?
The Angry Bird Decision Plan and create a program that takes user input, uses Python looping procedu...

Questions in other subjects: