Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In Python. Exercise 7.1 (5 points) Consider the commonly studied problem of projectile motion from the first semester of introductory physics, depicted in the figure

In Python. image text in transcribed
Exercise 7.1 (5 points) Consider the commonly studied problem of projectile motion from the first semester of introductory physics, depicted in the figure below. Yo For the projectile launched with an initial speed vo at an angle with the horizontal, from an initial height yo, if the friction is neglected, the equations of motion are: oocoss) =0 We want to use the above equation to find out the launch angle needed, in order to hit a given target (xy), if the launch speed vo and the initial height yo are known. Since the equation for the angle is non-linear we will have to use a numerical method to find it. (a) First plot the left side of the equation (1) as a function of the angle for the following inputs: vo 100 m/s, yo 10 m, x 900 m, and y 5 m. Use for the gravitational acceleration: g 9.81 m/s. The zero crossings should give you an idea on where the solutions are located and how many solutions there are. (Note: a good range for e is 5 degrees to 90 degrees). (b) Write a Python program to calculate the possible launching angles 0, for which the projectile would hit the target under the above conditions. You can use any of the algorithms covered in class (relaxation, binary search, Newton, or secant) as long as you use your own code to execute them. (c) Plot on the same graph all the possible projectile trajectories that would hit the target. Note: you should express and manipulate the angle 0 in degrees throughout the

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Using Entity Relationship Diagrams

Authors: Sikha Saha Bagui, Richard Walsh Earp

3rd Edition

103201718X, 978-1032017181

More Books

Students also viewed these Databases questions

Question

How do Data Types perform data validation?

Answered: 1 week ago

Question

How does Referential Integrity work?

Answered: 1 week ago