Throwing an object over the fence

  • Thread starter Thread starter forrestuv
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on calculating the initial velocities required to throw an object over a fence while reaching a specified destination point within a given time. The user breaks down the problem into horizontal (X) and vertical (Y) components, using kinematic equations to derive initial speeds. Key formulas include the calculation of initialSpeedX and initialSpeedY, along with the assessment of whether the object will clear the fence height of 1 meter. The user seeks a simplified formula to determine the necessary initial velocity to ensure the object crosses the fence without hitting it.

PREREQUISITES
  • Understanding of kinematic equations in physics
  • Basic knowledge of projectile motion
  • Familiarity with gravity's effect on falling objects
  • Ability to solve quadratic equations
NEXT STEPS
  • Research projectile motion equations in detail
  • Learn about the derivation of initial velocity formulas for projectile motion
  • Study the impact of gravity on vertical motion
  • Explore numerical methods for solving quadratic equations
USEFUL FOR

Physics students, programmers working on simulation projects, and anyone interested in understanding projectile motion and its applications in real-world scenarios.

forrestuv
Messages
10
Reaction score
0

Homework Statement


I need to throw an Object over a fence at a destinationPoint reached in a given time

startPointX=0
startPointY=0.4
destpointX=25
destpointY=0
time=3
fence height=1
fence posX = 10

The Attempt at a Solution


I decided to split up the problem in two components X,Y

initialSpeedX=(destPointX-startPointX) / time

giving the formula of a falling body:
distance = 1/2 × gravity × time^2 + intialspeedY × time

initialSpeedY=((destPointy - startPointy) - (0.5 * gravity * (time* time))) / time

now if I throw the object at an initial velocity of (initialSpeedX,initialSpeedY) it will hit the destpoint in the given time.

now I can calculate if the object at a certain time will hit the fence

timeToReachTheNet = (fencePosX-startPointX) / ((destPointX-startPointx) / Time)
fenceHitHeight = startPointy+( (gravity * (timeToReachTheNet^2) + 2 * initialSpeedY* timeToReachTheNet ) / 2);

if the fenceHitHeight is less than 1 it will hit the fence.

now, if the object hit the fence, how can I find the initialSpeedY so it will reach at least 1mt of height and cross the fence?

it seems that a simple equation is not enough... uhm..

maybe I could find the right equation to directly without the fence hit test..but this is the only method I know :(
 
Physics news on Phys.org
You have found initial speed x and initial speed y.
Now tanθ = (initial speed y) / (initial speed y)
Using kinematic equation, you can see that
yf = yi + x*tanθ - 1/2*g*x^2/(v^2*co^2θ)

= yi + x*tan(θ) - 1/2*g*x^2*sec^2(θ)/(v^2)
Put sec^2(θ) = 1 + tan^2(θ) and solve the quadratics to find tanθ.
 
really hard for me...I'm just a programmer :(
could you be go into details a little more?

would it require much time for you to write the final formula to calculate the initial velocity to make the object reach a destination point, crossing a fence?

I'm not able to do all the calculations required :(
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 15 ·
Replies
15
Views
3K
Replies
11
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K