A common situation dealt with in engineering and physics is that of projectile motion. The equation...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A common situation dealt with in engineering and physics is that of projectile motion. The equation for the height of a projectile, y (m), is: =-(-/-) gt² + V₁ sin(0)t + yo y = g= Acceleration due to gravity: 9.81 m/s² t = Time (seconds) Vo = Initial Velocity of Projectile (m/s) 0 = Launch Angle (degrees) yo Initial height of the projectile (m) The equation for the horizontal distance traveled by the projectile, x (m), is: x = V₁ cos(0) t Assuming y, is zero, the time at which the projectile impacts the ground is given by: 2. Vo sin(0) g Timpact Assuming y, is zero, the time at which the projectile reaches the maximum height is given by: Vo sin (0) g = TMax 100% Windows (CRLF) Download the text file, Projectile.txt, from the Community Site. The first column in the text file is initial velocity (m/s) and the second column is launch angle (degrees). Write a Python script that will: Projectile_Results.txt -... File Edit Format View Help 10 15 0.5 0.3 5.1 10 30 1.0 1.3 8.8 10 45 1.4 2.5 10.2 assuming y₁ = 0 Read the data from the Projectile.txt file For each initial velocity and launch angle, compute Timpact, Maximum Height, and the Horizontal Distance and save the values in lists. Assume yo = 0 and compute horizontal distance at the impact time. Remember: trig functions are in the math library and use radians Write the results along with the initial velocity and launch angles in a new text file called Projectile_Results.txt. The first column should be initial velocity, the second column should be launch angle, the third column should be impact time, the fourth column should be maximum height, and the last column should be distance. The first few lines of your Projectile_Results.txt file should look like this: UTF-8 assuming y₁ = 0 X A common situation dealt with in engineering and physics is that of projectile motion. The equation for the height of a projectile, y (m), is: =-(-/-) gt² + V₁ sin(0)t + yo y = g= Acceleration due to gravity: 9.81 m/s² t = Time (seconds) Vo = Initial Velocity of Projectile (m/s) 0 = Launch Angle (degrees) yo Initial height of the projectile (m) The equation for the horizontal distance traveled by the projectile, x (m), is: x = V₁ cos(0) t Assuming y, is zero, the time at which the projectile impacts the ground is given by: 2. Vo sin(0) g Timpact Assuming y, is zero, the time at which the projectile reaches the maximum height is given by: Vo sin (0) g = TMax 100% Windows (CRLF) Download the text file, Projectile.txt, from the Community Site. The first column in the text file is initial velocity (m/s) and the second column is launch angle (degrees). Write a Python script that will: Projectile_Results.txt -... File Edit Format View Help 10 15 0.5 0.3 5.1 10 30 1.0 1.3 8.8 10 45 1.4 2.5 10.2 assuming y₁ = 0 Read the data from the Projectile.txt file For each initial velocity and launch angle, compute Timpact, Maximum Height, and the Horizontal Distance and save the values in lists. Assume yo = 0 and compute horizontal distance at the impact time. Remember: trig functions are in the math library and use radians Write the results along with the initial velocity and launch angles in a new text file called Projectile_Results.txt. The first column should be initial velocity, the second column should be launch angle, the third column should be impact time, the fourth column should be maximum height, and the last column should be distance. The first few lines of your Projectile_Results.txt file should look like this: UTF-8 assuming y₁ = 0 X
Expert Answer:
Related Book For
Calculus Early Transcendentals
ISBN: 978-0321947345
2nd edition
Authors: William L. Briggs, Lyle Cochran, Bernard Gillett
Posted Date:
Students also viewed these programming questions
-
Is the acceleration due to gravity more or less atop Mt. Everest than at sea level? Defend your answer.
-
A powerful tool in solving problems in engineering and physics is the Laplace transform. Given a function f(t), the Laplace transform is a new function F(s) defined by
-
A powerful tool in solving problems in engineering and physics is the Laplace transform. Given a function f(t), the Laplace transform is a new function F(s) defined by
-
Find the derivatives of the function. 9 cot sin t t
-
Search the Internet for examples of recent successful and failed IT implementations. What was the role of employee involvement and resistance in each one of those? What strategies did companies use...
-
The Milken Investment Fund buys 90 bonds of the Levine Corporation through its broker. The bonds pay 11 percent annual interest. The yield to maturity (market rate of interest) is 14 percent. The...
-
For a test of H0: 1 = 2 versus H1: 1 2, the sample sizes were n1 = 15 and n2 = 25. How many degrees of freedom are there for the test statistic? Use the simple method.
-
The market value of the equity of Thompson, Inc., is $580,000. The balance sheet shows $35,000 in cash and $190,000 in debt, while the income statement has EBIT of $91,000 and a total of $135,000 in...
-
Question 7 of 9 View Policies < > Current Attempt in Progress Sandhill Company has a balance in its Accounts Payable control account of $8,180 on January 1, 2022. The subsidiary ledger contains three...
-
Andrea is in charge of scheduling the work for the service department of a car dealership. Lately, people in the sales department have been taking telephone calls from customers and promising that...
-
Company is Coca Cola Find the historical factors that contributed to change in the market segment and the current factors. What one factor is likely to cause another change in the future that may...
-
Merrill Lynch had a written policy that required its employees to hold client information in strict confidence. What instruction did Peter Bacanovic give Douglas Faneuil on the morning of December...
-
Britta utilizes multiple independent contractors in her drywall construction business; one of them neglects to provide her with the appropriate TIN. Accordingly, Britta must take backup income tax...
-
Kido Company makes a product "Blue". It takes 100,000 direct labor hours to manufacture the product. Total overhead for the product is $400,000. Using the traditional cost method of direct labor...
-
She is single with no dependents. She worked for the same camp last year and received a full refund of all the federal taxes they withheld because she had no tax liability. She expects this year to...
-
Millard Publishing receives payments in advance for its magazine subscriptions and records these payments as Unearned Subscription Revenue. Millard started the year with a balance of $358,000 in the...
-
Kpn1 You are trying to clone Gene A into this 3kb plasmid using restriction enzymes. You then ligate the Gene A DNA into the cut plasmids. Finally, you transform the E. coli bacterial cells with the...
-
Catherine (aged 42) and Johnson (aged 45) have been married for 12 years. Johnson is a project manager of an event company at a monthly salary of $55,000 with an additional one-month salary of...
-
Determine the following indefinite integrals. Check your work by differentiation. (5m (12m 3 - 10m) dm
-
Draw a right triangle to simplify the given expressions. Assume x > 0. cos (2 sin -1 x)
-
Find the radius of convergence of k!xk kk
-
The Excel formula to compute net income's percentage of sales in Exhibit 7-5, is a. \(=B 4 * B 2\) b. \(=B 4 / B 2\) c. \(=\mathrm{B} 2-\mathrm{B} 3\) d. \(=\mathrm{B} 4+\mathrm{B} 3\) EXHIBIT 7-5 A...
-
Match each component of a computerized accounting system with its meaning. Meaning Component Electronic linkages that allow different computers A. Server to share the same information Electronic...
-
Complete the crossword puzzle that follows. 2 3 4 5 6 Down: 1. Managers need over operations in order to authorize transactions and safeguard assets 3. Programs that drive a computer 4. Electronic...
Study smarter with the SolutionInn App