Time for Distance with variable velocity
Mostrar comentarios más antiguos
Hi!
I have an object that is moving towards a wall. The closer it gets to the wall the slower it gets, but it reaches the wall with a certain velocity (it does not stop at the wall).
So the velocity is depending on the distance to the wall: v(x) = K*(x^2) where K is a constant.
At the beginning, the object is located with the distance L to the wall. How can I calculate how long it takes for the object to reach the wall? I know the function of the velocity.
Is there a fast way to solve that in matlab?
Thanks very much!
3 comentarios
Teja Muppirala
el 8 de Mzo. de 2011
You said "it reaches the wall with a certain velocity (it does not stop at the wall)"
However
v(x) = K*x^2 <--- This equals zero at the wall (v(0) = 0).
Can you clear up this miscommunication?
Paulo Silva
el 8 de Mzo. de 2011
If the starting point is L units from the wall than v(0)=0 should be your velocity at the wall, now it depends on the kind of motion, see http://en.wikipedia.org/wiki/Equations_of_motion , find the position equation that fits your motion and substitute the position values and speed, that will get you the time.
Steve
el 8 de Mzo. de 2011
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Symbolic Math Toolbox en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!