Recent content by wyosteve

  1. W

    Problem with python code. Combinations of 2-state vectors

    never mind, figured it out (with help)
  2. W

    Problem with python code. Combinations of 2-state vectors

    I am trying to find all combinations of a four element vector that contains only 1's and -1's. Ex (1,1,1,1),(-1,1,1,1),...(-1,-1,-1,-1) etc My idea to do this is pretty inefficient I am sure but I can't think of another way to do it, so here is what I was trying to do. I found how many total...
  3. W

    Fortran What is this number? (FORTRAN)

    yeah I realized that! (along with lots of other issues, haha) thanks
  4. W

    Fortran What is this number? (FORTRAN)

    ok great that's what I was hoping to hear! of course that means something is defiantly wrong with my program but at least now I know. Thanks
  5. W

    Fortran What is this number? (FORTRAN)

    Fortran 90 Here's a text file of my program. Large portions of it are copied from an example code my prof gave us for a similar one dimensional problem. I'll admit I know nothing about formatting (nor do I have time to learn that in detail).
  6. W

    Fortran What is this number? (FORTRAN)

    Hi, I'm writing a program in FORTRAN (my first) to find E and B fields due to a spinning sphere of charge. Anyways when printing out E and B field magnitudes I am getting numbers like this: 0.1773372103+245 What the heck does this mean!? Is it like 0.1773372103 x 10^245? Thanks for any...
  7. W

    Method of images to find potential near a grounded plane

    Potential at the center of the first sphere was what I was trying to find. I am getting confused about my position vectors. r1 is the distance from the center of the first sphere. Since we want the potential at that point r1=0. r2 is the distance from the center of the second sphere. So r2 =...
  8. W

    Method of images to find potential near a grounded plane

    This is all wrong. I can't add these to potentials together because they are the potentials in each sphere, and the point is only inside one of them. Should be the potential inside the first sphere plus the potential outside the second sphere. Something like V(r) =...
  9. W

    Method of images to find potential near a grounded plane

    Yeah sorry my post title was too brief. The question asks for the potential at the center of the sphere. The V(r) that I gave was for this sphere in empty space. So the problem was to find how this changed with the inclusion of the grounded plane. V1=Q/8πε0(3/R - r12/R3) (first sphere)...
  10. W

    Method of images to find potential near a grounded plane

    Homework Statement Have my E&M final tomorrow. Trying to work old test questions. Please check my answer for this question. Uniformly charged sphere of charge Q and radius R, center is a distance d above a grounded plane.Homework Equations V(r) in the interior of a sphere is given in the...
  11. W

    What is the larmor radius of an electron in the inner van allen belt?

    Never mind, that is the answer they were looking for.
  12. W

    What is the larmor radius of an electron in the inner van allen belt?

    Homework Statement What is the larmor radius of an electron in the inner van allen belt? This is for a General Astr class so I feel like I must be over complicating it. Electron Kinetic Energy in the inner VA belt: K≥30 [MeV] (much greater then its rest energy) VA Belt Radius: r~1.1-2.0...
Back
Top