# Equations motion in the space

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

## 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 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 on other sites
Quote:
 Original post by etothexIn 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

1. 1
2. 2
3. 3
Rutin
18
4. 4
JoeJ
14
5. 5

• 14
• 10
• 23
• 9
• 32
• ### Forum Statistics

• Total Topics
632630
• Total Posts
3007521
• ### Who's Online (See full list)

There are no registered users currently online

×