1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

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

  1. Sep 8, 2012 #1
    1. The problem statement, all variables and given/known data

    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


    2. Relevant equations

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

    range=flightTime*initSpeed * cos(initAngle)


    3. 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.
     
  2. jcsd
  3. Sep 8, 2012 #2
    I found this formula defining height.

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

    What does the A-hat represent?
     
  4. Sep 8, 2012 #3

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    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?
     
  5. Sep 8, 2012 #4

    Redbelly98

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook