Projectile Motion Question - Clearing a Wall

Click For Summary

Homework Help Overview

The discussion revolves around determining whether a projectile will clear a wall based on its initial height, angle, and velocity. The original poster is developing a program to provide a binary response ('yes' or 'no') regarding this scenario, seeking general guidance on how to approach the problem.

Discussion Character

  • Exploratory, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • The original poster sketches the projectile's trajectory and considers creating a chart of x and y values over time to compare with the wall's height. Some participants suggest evaluating the height of the projectile at the wall's horizontal position to determine if it clears the wall.

Discussion Status

Participants are exploring various methods to relate the projectile's height to its horizontal distance. Some guidance has been offered regarding calculating the height at specific distances and eliminating time from the equations. The discussion is ongoing, with participants seeking further clarification on implementation details.

Contextual Notes

The original poster is working with a specific example where the wall is 4 meters away and 4 meters high, which adds a concrete context to the problem. There are indications of challenges in implementing calculations in Excel.

Vyl
Messages
3
Reaction score
0

Homework Statement



Among many other things, determine if a projectile will clear a wall. I am attempting to make a program to respond with a 'yes' or 'no'. So this is not a specific question, it is more of a general "how is this solved?" question.

The known values are initial height, initial angle, and initial velocity.

The outputs are the maximum height, time, and distance, which I have calculated and outputted correctly using equations in the textbook.

So my basic question is, I need to figure out that given a distance from a wall and height of the wall, will the projectile clear it?

Homework Equations



dMaxHeight = dInitialHeight + (dInitialVelocity * dInitialVelocity * sin(dInitialAngle) * sin(dInitialAngle)) / (2 * dGravitationalAcceleration);

dMaxTime = (dInitialVelocity * sin(dInitialAngle)) / dGravitationalAcceleration + sqrt((2 * dMaxHeight) / dGravitationalAcceleration);

dMaxDistance = dInitialVelocity * dMaxTime * cos(dInitialAngle);

I believe that these equations are correct as I have checked them with the Java simulations.

The Attempt at a Solution



I've sketched out the parabola and the wall, and the only thing that I can think of is to make a chart of the x and y values of the traveling object as time progresses, and test them with the height and y-coordinate of the wall. Is this even close to being correct? I hope I'm being clear of what I'm trying to figure out.

Thanks very much for your help!

- Vyl
 
Physics news on Phys.org
Yes, I believe your attempt is on the right track. Find Height as a function of horizontal distance, evaluate height at the place where the wall is, see if the height is greater than the height of the wall.
 
Problem Solved

nicktacik said:
Yes, I believe your attempt is on the right track. Find Height as a function of horizontal distance, evaluate height at the place where the wall is, see if the height is greater than the height of the wall.

Thank you for the reply!

I believe that I have figured it out -- I did exactly as you said. Thanks for the help!

- Vyl
 
A Little More Help

nicktacik said:
Yes, I believe your attempt is on the right track. Find Height as a function of horizontal distance, evaluate height at the place where the wall is, see if the height is greater than the height of the wall.

Hi,

Well ... I was able to get a working model (I think it works) in C++, but for some reason I can't get the Excel spreadsheet to work properly. May I have a little more clarification please? I created a table of X and Y values for the entire length of time that the projectile is in the air. What I don't know how to do is find if (and where) the wall will meet the projectile path.

How do I evaulate height at the place where the wall is? For my sample data, I know that the wall is 4 meters out and 4 meters high (this data should make the projectile collide). Should I run through my X and Y values, and when I hit 4 in the X side of the table, look at the cooresponding Y value, and compare it with the height of the wall? That sounds like it would work ... I'm not sure how to implement it in Excel though.

Any hints or guidance would be greatly appreciated. Thanks very much!

- Vyl
 
If you are able to calculate a table of X and Y values, can you not also calculate the Y value for a given X, namely for X = horizontal wall distance.

If you are depending on time, you need to do as nicktacik says and eliminate time, finding an equation relating height of the projectile with its horizontal distance traveled.

Because the horizontal velocity stays the same, the equation for horizontal distance (x) traveled is:

[tex]x = v_0\cos\theta \cdot t[/tex]

where v0 is the initial velocity, [tex]\theta[/tex] is the launch angle, and t is the time.

For the vertical movement, you use the constant acceleration equations with g = -9.81 m/s^2 for your acceleration:

[tex]y = y_0 + v_0\sin\theta \cdot t - \frac{1}{2}gt^2[/tex]

Now, all you need to do is eliminate t.
 
Last edited:

Similar threads

Replies
40
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 42 ·
2
Replies
42
Views
3K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
7
Views
2K
Replies
19
Views
3K
Replies
2
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K