Question

In: Physics

As you know, the motion of an object is described by the kinematic equations that you...

As you know, the motion of an object is described by the kinematic equations that you learned in your first semester of introductory physics.

For two dimensional projectile motion, where the trajectory of an object is described by an upside down parabola, with constant acceleration ~a = ~g, these equations are: x = x0 + vx0t vx = vx0 y = y0 + vy0t − 1 2 gt2 vy = vy0 − gt v 2 y = v 2 y0 − 2g (y − y0) where vx0 = v0 cos θ vy0 = v0 sin θ

Write a program to analyze the motion of a projectile fired from the top of a tall building.

The program should satisfy the following constraints:

• The input parameters should be read in from the accompanying file “ProjectileParams.txt”.

• The acceleration due to gravity should be a constant.

• It should use appropriate “pass by value” functions to compute the vertical speed as well as the x and y positions.

• It should use a “for” loop. • It should create two output files (Note that all output quantities should have two decimal places of precision):

1. A file named “ProjectileData.txt”, which is a table with columns for time, y-position, x-position, vertical speed, and horizontal speed.

2. A file named “ProjectileResults.txt” which reports the following information based on your results:

– The maximum height reached by the projectile.

– The time for the projectile to reach maximum height.

– The horizontal distance the projectile is from the building when it reaches maximum height

The time for the projectile to reach the ground

. – The horizontal distance from the building where the projectile hits the ground.

– The speed of the projectile as it strikes the ground.

– The angle (relative to the horizontal) that the projectile strikes the ground. Use your algorithm to produce output from the given input file “ProjectileParams.txt”.

Using your output data table, produce plots of velocity versus time and position versus time (for both x and y directions) in Microsoft Excel (or something similar) and include them in your homework write-up. Based on the equations which govern projectile motion, are these plots what you expect? Explain.

Solutions

Expert Solution

Hi,

Hope you are doing well.

  A Projectile or a projectile motion is an object thrown with some initial velocity and allowed them to travel under the force of gravity, following a particular trajectory, without being propelled by an engine. The object under projectile motion will experience a constant speed in horizontal direction and a constant acceleration of 9.8 m/s2 in the vertical direction.

Horizontal motion of projectile

The speed in the horizontal direction is 'vx' and this speed doesn't change. The equation which predicts the position at any time in the horizontal direction is simply,

             

Vertical motion of projectile

Because gravity has a downward pull, the vertical velocity changes constantly. The equation that predicts the vertical velocity at any time 'vy' is

                                                              

The 'Voy' is simply the original velocity in the vertical or y-direction.
To calculate the position in the y-direction, the full distance formula must be used. 'Yo', represents the original position in the y-direction.

                                   

Acceleration for projectiles near the Earth's surface is -9.8 m/s2. We don't re-write the equation with a negative sign. Rather, we use the negative acceleration value when solving problems.

When a projectile is launched horizontally a ball rolls off a table, a car runs off the edge of a cliff, etc. Here the original y-velocity is zero. For example, if the projectile drops 10 meters, you can set the Yo = 0 and Yf= -10 m. Or, you can set Yo = 10 m and Yf = 0. Either works out the same.

Velocity

To determine the total velocity of a projectile, we combine the horizontal velocity
('vx') and the vertical velocity ('vy') using the Pythagorean Theorem,

At maximum height

At the top of its path, the projectile no longer is going up and hasn't started down, yet. Its vertical velocity is zero ( vy = 0 ). The only velocity it has is just its horizontal velocity, vx. Remember, the horizontal speed stays constant throughout the projectile path.

A common misconception occurs at the top of a projectile's arc. When asked what the acceleration of the projectile is at this point, many people answer "zero". If it were zero, the projectile would simply keep going in a straight line. However, gravity is still acting, pulling it down, and accelerating it towards the earth. Thus the acceleration at the top is still -9.8 m/s2, just as it's been all along.

Range of projectile motion

For a projectile that is launched at an angle and returns to the same height, we can determine the range or distance it goes horizontally using a fairly simple equation. However, we will focus on the results of studying that equation rather than solving it here.

  • When the projectile is launched at a steep angle, it spends more time in the air than it does when launched at a shallow angle.
  • When the projectile is launched at a shallow angle, it goes faster in the horizontal direction than if it is launched at a steep angle.

The ideal combination of time in the air and horizontal speed occurs at 45o. Thus the maximum range or distance occurs when the projectile is launched at this angle. This applies to long jumpers and soccer balls that are two good examples. However, if the projectile starts at a point higher than where it lands, the ideal distance doesn't occur at a 45o angle. Ask your instructor for an explanation. If you calculate the range for a projectile launched at 30o, you will find it's the same as a projectile launched at 60o. The same goes for 40o and 50o. The graph of range vs angle is symmetrical around the 45o maximum.

The equations used to find out various parameters are shown below;

Time of flight,      

Maximum height,     

Horizontal range,  

If the body is projecting from a height “h” above the ground level, the additional height ‘h’ is to be considered and the equations modified accordingly.

  

The angle (relative to the horizontal) that the projectile strikes the ground,

Hope this helped for your studies. Keep learning. Have a good day.

Feel free to clear any doubts at the comment section.


Please don't forget to give a thumbs up.

Thank you. :)


Related Solutions

When studying the motion of an object, we can analyze it using kinematic equations or energy...
When studying the motion of an object, we can analyze it using kinematic equations or energy equations. Both types of equations give information about position and velocity. Kinematic equations give information about the motion of an object from moment to moment, while energy equations typically detail the initial and final points of the motion. Consider a car traveling at 6 m/s. When the driver breaks the car travels 18 meters before coming to a stop. (This is one question, just...
a.) Derive the equations of motion for an object with mass(m1) that is orbiting the second...
a.) Derive the equations of motion for an object with mass(m1) that is orbiting the second object of mass (m2>>m1) in a perfectly circular orbit with radius(R) and orbital period (T). (Use lagrangian mechanics & show work) b.) Find the hamiltonian of the system and describe how it is related to the system energy.
In this problem, you will apply kinematic equations to a jumping flea.
problem 1) In this problem, you will apply kinematic equations to a jumping flea. Take the magnitude of free-fall acceleration to be 9.80m/s2 . Ignore air resistance.1. A flea jumps straight up to a maximum height of 0.510m. What is its initial velocity as it leaves the ground?3.16m/s2. How long is the flea in the air from the time it jumps to the time it hits the ground?time in air=____sProblem 2) A rock is thrown vertically upward with a speed of 19.0...
An object attached to a spring vibrates with simple harmonic motion as described by the figure...
An object attached to a spring vibrates with simple harmonic motion as described by the figure below. (a) For this motion, find the amplitude.   (b) For this motion, find the period. (c) For this motion, find the angular frequency.  (d) For this motion, find the maximum speed  (e) For this motion, find the maximum acceleration.  (f) For this motion, find an equation for its position x in terms of a sine function. 
In this problem, you will apply kinematic equations to a jumping flea. Take the magnitude of...
In this problem, you will apply kinematic equations to a jumping flea. Take the magnitude of free-fall acceleration to be 9.80 m/s2 . Ignore air resistance. A flea jumps straight up to a maximum height of 0.450 m . What is its initial velocity v0 as it leaves the ground? How long is the flea in the air from the time it jumps to the time it hits the ground?
And object is undergoing simple harmonic motion along the x-axis. Its position is described as a...
And object is undergoing simple harmonic motion along the x-axis. Its position is described as a function of time by x(t) = 2.7 cos(3.1t – 1.2), where x is in meters, the time, t, is in seconds, and the argument of the cosine is in radians. A) Find the amplitude of the simple harmonic motion, in meters. B) What is the value of the angular frequency, in radians per second? C) Determine the position of the object, in meters, at...
An object is undergoing simple harmonic motion along the x-axis. Its position is described as a...
An object is undergoing simple harmonic motion along the x-axis. Its position is described as a function of time by x(t) = 5.5 cos(6.9t – 1.1), where x is in meters, the time, t, is in seconds, and the argument of the cosine is in radians. Part (a) Find the amplitude of the simple harmonic motion, in meters. 14% Part (b) What is the frequency of the motion, in hertz? 14% Part (c) Determine the position of the object, in...
The displacement of an object in simple harmonic motion is described by the equation 0.40m*sin(8.9rad/s(t)) +...
The displacement of an object in simple harmonic motion is described by the equation 0.40m*sin(8.9rad/s(t)) + 0.61m*cos(8.9rad/s(t)). A) Determine the position and velocity when t = 0 seconds. B) Determine the maximum displacement of the system. C) Determine the maximum acceleration of the system. D) Determine the velocity of the system at t = 6 seconds.
1) How do we know that an object performs a simple harmonic motion? 2) Is the...
1) How do we know that an object performs a simple harmonic motion? 2) Is the movement of a pendulum a simple harmonic movement? Explain 3) Are there other types of pendulums that perform a MAS? Explain each
If you know the mass of a star and an object
If you know the mass of a star and an object
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT