Soccer goal. Need help defining height of ball at a distance.

  • Thread starter Thread starter lorenzosounds
  • Start date Start date
  • Tags Tags
    Ball Height
AI Thread Summary
The discussion centers on developing a program to determine if a kicked soccer ball crosses a goal, given user-defined variables for distance, angle, and speed. The net height is set at 2.54 meters, and gravity is acknowledged as 9.81 m/s². Participants explore various kinematic equations to calculate flight time and range, while also focusing on the ball's height at a specific distance. There is a suggestion to consider all relevant kinematic equations for both horizontal and vertical motion, and clarification is sought regarding the meaning of "A-hat" in the height equation. The conversation emphasizes the importance of understanding projectile motion principles to accurately determine if the ball clears the net.
lorenzosounds
Messages
4
Reaction score
0

Homework Statement



Write a program to determine whether or not a ball kicked is a goal. Initial distance (from goal), initial angle, and initial speed are user-defined variables. The net is 2.54 m high. Gravity is 9.81m/s^2


Homework Equations



flightTime=(2)initSpeed*sin(initAngle)/gravity

range=flightTime*initSpeed * cos(initAngle)


The Attempt at a Solution



Trying to define whether or not the ball is above the net when the ball is at the initial distance. I've been thinking about it in terms of trig functions, specifically Sin. Also, maybe using the pythagorean theorem (initDistance^2 + height of ball^2 = Length of tangent line between initDistance and ball^2).

I'm also aware of the kinematic equation vi^2 * (sinθi)^2/2g, which gives the max height of a parabolic flight. However, this doesn't let me define the height at any moment.
 
Physics news on Phys.org
I found this formula defining height.

y(t) = (Vo sinm)) - (gt²)/2

What does the A-hat represent?
 
lorenzosounds said:

Homework Statement



Write a program to determine whether or not a ball kicked is a goal. Initial distance (from goal), initial angle, and initial speed are user-defined variables. The net is 2.54 m high. Gravity is 9.81m/s^2


Homework Equations



flightTime=(2)initSpeed*sin(initAngle)/gravity

range=flightTime*initSpeed * cos(initAngle)


The Attempt at a Solution



Trying to define whether or not the ball is above the net when the ball is at the initial distance. I've been thinking about it in terms of trig functions, specifically Sin. Also, maybe using the pythagorean theorem (initDistance^2 + height of ball^2 = Length of tangent line between initDistance and ball^2).

I'm also aware of the kinematic equation vi^2 * (sinθi)^2/2g, which gives the max height of a parabolic flight. However, this doesn't let me define the height at any moment.
Welcome to Physics Forums.

"Relevant equations" should probably include all kinematic equations, applied to both horizontal and vertical motion.

You can use the kinematic equation that tells you the ball's height at any given time, given the acceleration and initial velocity.

Also, what is supposed to happen to the ball if it hits the ground before reaching the goal? Does it come to a complete stop, bounce off the ground, continue rolling along the ground, or something else?
 
lorenzosounds said:
I found this formula defining height.

y(t) = (Vo sinm)) - (gt²)/2

What does the A-hat represent?
That looks similar to the following equation (2nd equation listed under "Displacement"):
http://en.wikipedia.org/wiki/Projectile_motion#Displacement

But there is no A-hat in that equation.

I'll suggest that you look at a physics textbook, in the section that discusses projectile motion, which will have all the equations and also explain what all the terms mean.
 
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Trying to understand the logic behind adding vectors with an angle between them'
My initial calculation was to subtract V1 from V2 to show that from the perspective of the second aircraft the first one is -300km/h. So i checked with ChatGPT and it said I cant just subtract them because I have an angle between them. So I dont understand the reasoning of it. Like why should a velocity be dependent on an angle? I was thinking about how it would look like if the planes where parallel to each other, and then how it look like if one is turning away and I dont see it. Since...
Back
Top