Finding velocity along a vector, given velocity in xyz

  • Thread starter Thread starter Bucky
  • Start date Start date
  • Tags Tags
    Vector Velocity
Click For Summary
The discussion focuses on calculating the separation velocity of a ball after it strikes a wall in a simulation. The user has the ball's velocity in XYZ coordinates but is unsure how to derive a velocity vector from these components. They are also seeking guidance on how to separate the post-impact velocity back into XYZ components. Key equations mentioned include using a plane-vector intersection formula and applying Newton's experimental law, which affects only the perpendicular velocity component. The conversion between vector forms and components is emphasized, suggesting the use of Pythagorean theorem for magnitude and polar coordinates for direction.
Bucky
Messages
79
Reaction score
0

Homework Statement


I am attempting to program a simulation of a ball hitting a wall (breakout, basically), and am having problem with the maths elements. I have the angle at which the object strikes the wall, and currently I am working on the separation velocity. However, I don't know how to find this.

I have the velocity of the ball in the XYZ, but don't know how to combine these into a velocity along a vector. Also how would i then take the velocity after impact and separate this back into the XYZ components? I think it would involve scaling the values but I'm not certain on this.


Homework Equations


v^2 = u^2(cos^2 a + e^2 * sin^2 a)
(I have a and e, and need u to solve the equation)


The Attempt at a Solution


Well...everything up till here. Using a plane->vector intersection formula (n.b = |n||b|sinA ...where n is the plane normal, b is the vector and A is the angle) to find the angle the vector makes with the plane.
 
Physics news on Phys.org
bear in mind that N.E.L (Newton's experimental law) affects only the component of velocity perpendicular to the plane, so probably your "xyz" velocities are what you need to work out components of velocity after the collision. I think your relevant equation is the result from taking this into account...

Combining components of velocity into a vector, by which I assume you mean direction and magnitude, just convert the vector in three components into a polar form. However, that's probably not so useful to you working in three dimensions as you'd need spherical polars or cylinder polars... Anyway, to get the magnitude just do pythag on the components. r = sqrt(x_component^2+y_component^2+z_component^2)

Converting the vector "back" into components is just the opposite problem, essentially converting a polar coordinate into cartesian coordinates. Do you have access to a computer or calculator to solve this problem?
 
The book claims the answer is that all the magnitudes are the same because "the gravitational force on the penguin is the same". I'm having trouble understanding this. I thought the buoyant force was equal to the weight of the fluid displaced. Weight depends on mass which depends on density. Therefore, due to the differing densities the buoyant force will be different in each case? Is this incorrect?

Similar threads

Replies
14
Views
792
Replies
25
Views
2K
Replies
26
Views
2K
Replies
24
Views
2K
  • · Replies 15 ·
Replies
15
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 39 ·
2
Replies
39
Views
4K
Replies
5
Views
2K
Replies
52
Views
5K
  • · Replies 21 ·
Replies
21
Views
1K