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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Describe in pseudocode an algorithm that given an integer n and a linked list of elements increases the linked list by a factor of n by replacing each element in the original list with n copies of that element. for example, if l: [18, 7, 4, 24, 11] and n = 3 the resulting list should be l: [18, 18, 18, 7, 7, 7, 4, 4, 4, 24, 24, 24, 11, 11, 11]. if the value of n is less than or equal to 0, the list should be empty after the call. what’s the running time of your algorithm?
Answers: 3
question
Computers and Technology, 22.06.2019 10:50
Write a 3-4 page apa formatted paper comparing your organization’s it strategy with the best practices outlined in your course text. content should include, but not be limited to: developing and delivering on the it value, developing it strategy for the business value and linking it to business metrics. your paper should include an abstract and a conclusion and a reference page with 3-5 references
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
Which of these options are the correct sequence of actions for content to be copied and pasted? select content, click the copy button, click the paste button, and move the insertion point to where the content needs to be inserted. click the copy button, select the content, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, click the copy button, move the insertion point to where the content needs to be inserted, and click the paste button. select the content, move the insertion point to where the content needs to be inserted, click the copy button, and click the paste button.
Answers: 3
question
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
You know the right answer?
The Angry Bird Decision Plan and create a program that takes user input, uses Python looping procedu...
Questions
question
Mathematics, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
English, 16.10.2020 07:01
question
History, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
Mathematics, 16.10.2020 07:01
question
Physics, 16.10.2020 07:01
Questions on the website: 13722367