Recent content by 1101

  1. 1

    Finding the force vector of an object with angular velocity

    So let's say i have two cubes. If one of them slams into the other (assuming it isn't moving at all) then the force vector is just going to be the direction the first cube was moving in correct? But say that this first cube also had angular velocity on some arbitrary axis, in other words it's...
  2. 1

    Crystal spacing of a solid surface, Bragg's law

    Homework Statement In a particular Low Energy Electron Diffraction (LEED) study of a solid surface, electrons at 45 eV were diffracted at \phi = 53 degrees. Calculate the crystal spacing d. Homework Equations n\lambda=2dsin(\phi) \lambda = hc/E wavelength = c/v E = vh(n + 1/2) Note here v...
  3. 1

    Calculating the Force Between Two Electrons at a Distance of 2 Angstroms

    Well I entered the question exactly as it appears in the book so if we're all getting a different answer I guess it is just a problem with the book. Let's hear it for crummy 137$ textbooks.
  4. 1

    Calculating the Force Between Two Electrons at a Distance of 2 Angstroms

    Okay so I'm working on a question for practice and I'm sure I'm getting the right answer but the answer they give me is something different. Anyway the exact question is: An electron is located at the origin of the coordinates, and a second electron is brought to a position 2 Angstroms from the...
  5. 1

    Generating electricity from universal background radition?

    I'm guessing the energy required to make a cold sink to establish a temperature gradient would equal the energy gotten out of it (and that's assuming 100% efficiency)? Hm, what if whatever process used to generate electricity also lowered the temperature and did so at the rate of heat diffusion?
  6. 1

    Generating electricity from universal background radition?

    I'm not a physics major or anything (I'm actually a biochem major) but I was just wondering if the universal background radiation that keeps the universe (on average) a few degrees Kelvin warmer than absolute zero could possibly be enough to generate electricity. Essentially this minuscule...
  7. 1

    Problem with 3d impulse and collisions

    OMFG, thank you so much. It's finally working now. btw amazing deductive reasoning there.
  8. 1

    Problem with 3d impulse and collisions

    I made those changes (tnx btw) but it's still rotating through it. I know the spheres are being placed right because I am rendering them (I can swap between seeing the cube model or seeing the sphere's that compose it). They all look to be correctly placed and the way I'm drawing them wouldn't...
  9. 1

    Problem with 3d impulse and collisions

    It passes through it freely. It does not move it even the tiniest bit. I can rotate the cube so fast that it appears to not move at all and still it will not budge. I think I know why too. It's because with sphere's collision point and the direction of force are always going to be the same (so...
  10. 1

    Problem with 3d impulse and collisions

    Okay so I changed it so that the torque is calculated independently. Basically the first cube's torque is the cross product of the vector from the point of intersection to its center of mass with the positive force and the other is the cross product of the vector from the point of intersection...
  11. 1

    Problem with 3d impulse and collisions

    Alright well I did that and didn't see any change in behavior. The linear part works and the angular part works if there is some linear velocity but if there is only angular velocity the cubes can still be rotated through each other. Here's my actual code if you want to take a look, it's in GML...
  12. 1

    Problem with 3d impulse and collisions

    Okay so I am calculating the inertia tensor based on the entire cube (ie the eight points that make it up). I calculate the overlap and point of intersection based on the individual spheres but I calculate the force and torque based on the average overlap and the 'average' point of intersection...
  13. 1

    Problem with 3d impulse and collisions

    For the most part everything is working but there's a couple of problems: 1) The cubes are still rotating through each other (which was my problem with the other method). 2) I've been arbitrarily assigning k. Right now the cubes collide properly unless I accelerate one of them really fast...
  14. 1

    Problem with 3d impulse and collisions

    Okay then but how do I convert that 1D value into a vector for force? I tried taking the distance of each component, ie x_force = abs(x1 - x2) - radius1 - radius2; y_force = abs(y1 - y2) - radius1 - radius2; z_force = abs(z1 - z2) - radius1 - radius2; where abs returns the absolute...
  15. 1

    Problem with 3d impulse and collisions

    Wait you saying overlap depth = - R1 - R1; I'm assuming R1 and R2 are the respective radii of each sphere? Shouldn't the location of the spheres be incorporated into that? What I tried doing was finding the vector from the center of one sphere to the other, then multiplying it by each of their...
Back
Top