Equations for detecting collision

  • Thread starter Thread starter kachilous
  • Start date Start date
  • Tags Tags
    Collision
AI Thread Summary
To implement collision detection for an object thrown from a 50 m building, the time of collision can be calculated using the equation timeImpact = (-vy - sqrt((vy*vy) - (2*ay*y)) / (2*.5*ay). It's essential to determine the object's velocity and position at impact, as well as to factor in the coefficient of restitution, which is set at 0.5. The position of the object should be monitored, and a collision is detected when its altitude reaches zero (y=0). A time step analysis can be employed, where calculations for time, position, velocity, and acceleration are made at regular intervals to track the object's motion. This method simplifies the computation of post-collision dynamics.
kachilous
Messages
15
Reaction score
0
I have created a program that simulates an object being thrown off a 50 m building.
Now I would like to implement collision detection. What equations would I need to accomplish this? I am taking Physics right now, so my Physics is a little rusty.

I know I will have to find the time of collision:
timeImpact = (-vy - sqrt((vy*vy) - (2*ay*y)) / (2*.5*ay))

Will I also have to find the object's velocity and position at impact too?

I also decided that the object's coefficient of restitution will be .5.
So I know I will have to factor that in as well.

Any help would be appreciated.
 
Physics news on Phys.org
You will need the position (y) of the object. When the position of the object is equal to the altitude of the ground (y=0) its collided. In order to analyze the post collision dynamics you will probably also want the time and velocity. If your approach is a time step analysis, it is quite easy to also compute the time, position, velocity, acceleration in a time step table format.
 
What do you mean by time step analysis?
 
A time step analysis uses a constant increment of time, say 0.1 sec, and computes the necessary data (total time, position, velocity, acceleration) for each step in time. Then uses those results to compute the next increment.
 
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Thread 'Beam on an inclined plane'
Hello! I have a question regarding a beam on an inclined plane. I was considering a beam resting on two supports attached to an inclined plane. I was almost sure that the lower support must be more loaded. My imagination about this problem is shown in the picture below. Here is how I wrote the condition of equilibrium forces: $$ \begin{cases} F_{g\parallel}=F_{t1}+F_{t2}, \\ F_{g\perp}=F_{r1}+F_{r2} \end{cases}. $$ On the other hand...
Back
Top