Recent content by physicsfun
-
P
Java Java recursion longest common subsequence
can someone explain java recursion to me?- physicsfun
- Thread
- Java Recursion Subsequence
- Replies: 2
- Forum: Programming and Computer Science
-
P
Direction of induced current - VERY basic
Homework Statement A current loop with area A is placed in region II in the x-z plane, centered at the origin. (Below is a view looking down from y > 0.) If the magnitude of the current per unit length in each sheet is increased (the directions stay the same), the induced current in the loop...- physicsfun
- Thread
- Current Direction Induced Induced current
- Replies: 1
- Forum: Introductory Physics Homework Help
-
P
Java Why is My Java Code Not Rotating an Array 90 Degrees to the Left?
I am supposed to write code to rotate an array 90 degrees to the left... so my question is, why is this code not rotating my array 90 degrees to the left? thanks for any help! public static int[][] rotateLeft(int[][] source) { int[][] result = new int[source.length][source[0].length]...- physicsfun
- Thread
- Arrays Java Rotating
- Replies: 1
- Forum: Programming and Computer Science
-
P
Comp Sci Rotate Arrays in Java: Troubleshooting 90 Degree Left Rotation Code
Homework Statement Write code to rotate an array... Homework Equations why is this code not rotating my array 90 degrees to the left? thanks SO much in advance! The Attempt at a Solution public static int[][] rotateLeft(int[][] source) { int[][] result = new...- physicsfun
- Thread
- Arrays Java Rotating
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
P
When Does A Set Minus B Equal B Minus A?
Homework Statement For what conditions on sets A and B does A-B = B-A hold? Homework Equations A - B = A n B^c B - A = B n A^c The Attempt at a Solution I know that A = B is the answer, but I just don't know where to start...please don't give me the whole proof, I want to figure...- physicsfun
- Thread
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
P
How Is Electric Flux Calculated Using Gauss's Law for a Nonconducting Cylinder?
Thanks so much specialkick23... much appreciated- physicsfun
- Post #10
- Forum: Introductory Physics Homework Help
-
P
How Is Electric Flux Calculated Using Gauss's Law for a Nonconducting Cylinder?
I tried that and I keep getting the wrong answer, I converted sigma to lamba (charge per unit length) and used the relationship that E = lamba / (2*pi*epsilon*radius). Then I multiplied E by the surface area of the "container", 2*pi*radius*length... but this keeps yielding the wrong answer...- physicsfun
- Post #7
- Forum: Introductory Physics Homework Help
-
P
How Is Electric Flux Calculated Using Gauss's Law for a Nonconducting Cylinder?
Nope, the question is asking for the flux through the sides of the barrel. Part (a) and (b) of the question asked for the flux through the top and the bottom of the barrel, to which I correctly answered zero.- physicsfun
- Post #5
- Forum: Introductory Physics Homework Help
-
P
How Is Electric Flux Calculated Using Gauss's Law for a Nonconducting Cylinder?
As far as I can tell the relationship is pretty simple... Flux is simply the charged enclosed divided by espsilon... but obviously I'm not getting something! What aren't I understanding? Or is this particular relationship not applicable to this problem?- physicsfun
- Post #3
- Forum: Introductory Physics Homework Help
-
P
How Is Electric Flux Calculated Using Gauss's Law for a Nonconducting Cylinder?
Homework Statement A long solid nonconducting cylinder has radius r = 0.65 meters. It has a uniform charge density of 3.7 C/m3. Consider a cylinderical container concentric with the charged cylinder, with radius R = 1.5 m, and length L = 2 m. Calculate the flux through the barrel of the...- physicsfun
- Thread
- Electric Electric flux Flux Gauss's law Law
- Replies: 9
- Forum: Introductory Physics Homework Help