New Reply

Can someone verify a computational result for me?

 
Share Thread Thread Tools
Feb18-13, 06:43 PM   #1
 

Can someone verify a computational result for me?


This is for a computational physics class, but isn't a homework question, per se. My friend and I have two different sets of code trying to achieve the same thing and we're getting vastly different answers, orders of magnitude apart. We haven't covered this sort of problem in our intro E&M class yet so we aren't able to confirm a result by hand.

Using a λ0 value of 1e-6 and L = 0.5m I'm getting V = ~0.0995 and he's getting 10,596.

Write a Python code that computes the electrostatic potential of a finite segment of charged wire of length 2L, at a height H=L above the center of the wire. The charge density along the wire varies as λ=λ0cos[itex]\frac{Pi*x}{2L}[/itex]
PhysOrg.com
PhysOrg
physics news on PhysOrg.com

>> A quantum simulator for magnetic materials
>> Atomic-scale investigations solve key puzzle of LED efficiency
>> Error sought & found: State-of-the-art measurement technique optimised
Feb19-13, 01:58 AM   #2
 
Isn't that charge distribution antisymmetric, so the charge density at the point L-x along the wire is the negative of the charge density at the point L+x? Since the distance of these points to the point at a distance L in the middle of the wire is the same, the the contributions to the potential of these points cancels.
Feb19-13, 03:55 PM   #3
 
-delete- I did it wrong.
New Reply
Thread Tools


Similar Threads for: Can someone verify a computational result for me?
Thread Forum Replies
Dyna result doesn't match Test result Engineering Systems & Design 2
Dyna result doesn't match Test result Materials & Chemical Engineering 0
computational mathematics/computational physics and the video game industry Career Guidance 11
Stochashic variable result(Please verify) Urgent Calculus & Beyond Homework 0
Euler: Please verify my result ! Calculus & Beyond Homework 0