Graduate Z-coordinate shift when using elliptical integrals?

  • Thread starter Thread starter Helmholtzerton
  • Start date Start date
  • Tags Tags
    Integrals Shift
Click For Summary
The discussion focuses on simulating the DC magnetic field of a current loop using elliptical integrals, with concerns about inaccuracies when shifting the loop's position along the z-axis. A participant mentions evaluating a similar integral and achieving consistent results with the Biot-Savart law. An error in the original code was identified, which led to the resolution of symmetry issues in the simulation. The mathematical expressions and results were shared for further analysis. The conversation highlights the importance of accurate coding in simulations involving complex integrals.
Helmholtzerton
Messages
30
Reaction score
4
Hello,

I'm wondering if my approach to a problem is correct as when I try to simulate the DC magnetic field of a current loop using elliptical integrals, I obtain results that appear incorrect when shifting the current loop's location from the origin of the z axis.

I have attached the mathematical expressions along with my results.
 

Attachments

  • Elliptical Integral Question.docx
    Elliptical Integral Question.docx
    937.6 KB · Views: 326
  • page 1.png
    page 1.png
    22.2 KB · Views: 532
  • page 2.png
    page 2.png
    28.8 KB · Views: 566
Mathematics news on Phys.org
Helmholtzerton said:
Hello,

I'm wondering if my approach to a problem is correct as when I try to simulate the DC magnetic field of a current loop using elliptical integrals, I obtain results that appear incorrect when shifting the current loop's location from the origin of the z axis.

I have attached the mathematical expressions along with my results.
I was unable to view the "link" on my computer. I think I wound up evaluating a similar integral in a write-up I did where I showed the Biot-Savart integral from some surface currents gives the exact same result as the pole method. I only evaluated the integral in the plane of the endface of a cylinder of semi-infinite length: See: https://www.overleaf.com/read/kdhnbkpypxfk
 
Thanks for the reply Charles,

There was an error in my code.

I have achieved symmetry.
 
  • Like
Likes Charles Link
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K