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...
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).
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...
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 =...
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) =...
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)...
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...
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...