Computational physics Using Python: Implementing Maxwell Equation for Circle Polarization

Abstract: Python is a relatively new computing language, created by Guido van Rossum [A.S. Tanenbaum, R. van Renesse, H. van Staveren, G.J. Sharp, S.J. Mullender, A.J. Jansen, G. vanRossum, Experiences with the Amoeba distributed operating system, Communications of theACM 33 (1990) 46–63; also on-line at http://www.cs.vu.nl/pub/amoeba/, which isparticularly suitable for teaching a course in computational physics. There are two questionsto be considered: (i) For whom is the course intended? (ii) What are the criteria for a suitable language, and why choose Python? The criteria include the nature of the application. High performance computing requires a compiled language, e.g., FORTRAN. For someapplications a computer algebra, e.g., Maple, is appropriate. For teaching, and for programdevelopment, an interpreted language has considerable advantages: Python appearsparticularly suitable. Python‟s attractions include (i) its system of modules which makes iteasy to extend, (ii) its excellent graphics (VPython module), (iii) its excellent on linedocumentation, (iv) it is free and can be downloaded from the web. Python and VPython will be described briefly, and some programs demonstrated numerical and animation of somephenomenal physics. In this article, we gave solution of circle polarization by solvingMaxwell equation.
Keywords: Circle Polarization; Maxwell equations; Teaching; Graphics; Computational physics; Finite Difference Time Domain; Python
Penulis: Madlazim
Kode Jurnal: jpfisikadd110140

Artikel Terkait :

Jp Fisika dd 2011