Sign in to follow this  

Equations motion in the space

This topic is 4268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone and sorry for my english. I'm finding the equations motion in the space. my problem is: one cube with (hight_cube lenght_cube width_cube) start position of ball(x0,y0,z0) direction vector of ball(vx,vy,vz) start velcity of ball. I have assumed that the body is a material point and i have resolved the problem for 2D (x,y),with the : X=X0+(GLfloat)(V_0*cos(rad(angle))*T); Y=Y0+(GLfloat)((V_0*sin(rad(angle))*T))-(GLfloat)(0.5f*G*T*T); Vx=V_0*cos(rad(angle)); Vy=V_0*sin(rad(angle))-(G*T); where X and Y take me the position of ball and Vx,Vy the component of direction vector. Motion in the space have an equations like this: r(T)=x(T)*ux+y(T)*uy+z(T)*uz where "u" is an payer of axis x,y,z where velocity is derivative of r(T)/dt i don't know what is Z and Vz. Can someone help me? i'm finding a tutorial or guide,on my book of physic i have found nothing,only for the solver of problem in 2D. Thanke you byezz

Share this post


Link to post
Share on other sites
In the simple case of a ball starting at a point (x, y, z), with velocity (vx, vy, vz), the ball will trace an arc in a 2D plane. So all that is necessary to solve the problem is to align the x, y, z axes so that one axis is aligned to the motion of the ball (i.e., the plane is parallel to an axis)

Then one of the terms x, y, z will vanish to 0 in all calculations and you end up with the above solved case in 2D.

Share this post


Link to post
Share on other sites
Quote:
Original post by etothex
In the simple case of a ball starting at a point (x, y, z), with velocity (vx, vy, vz), the ball will trace an arc in a 2D plane. So all that is necessary to solve the problem is to align the x, y, z axes so that one axis is aligned to the motion of the ball (i.e., the plane is parallel to an axis)

Then one of the terms x, y, z will vanish to 0 in all calculations and you end up with the above solved case in 2D.


thanke you,i was thinking at the same solutions,now i'm sure.

byezz

Share this post


Link to post
Share on other sites

This topic is 4268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this