Computational physics Using Python: Implementing Maxwell Equation for Circle Polarization
DOI:
https://doi.org/10.26740/jpfa.v1n1.p1-7Keywords:
Circle Polarization, Maxwell equations, Teaching, Graphics, Computational physics, Finite Difference Time Domain, PythonAbstract
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. van Rossum, Experiences with the Amoeba distributed operating system, Communications of the ACM 33 (1990) 4663; also on-line at http://www.cs.vu.nl/pub/amoeba/, which is particularly suitable for teaching a course in computational physics. There are two questions to 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 some applications a computer algebra, e.g., Maple, is appropriate. For teaching, and for program development, an interpreted language has considerable advantages: Python appears particularly suitable. PythonŸs attractions include (i) its system of modules which makes it easy to extend, (ii) its excellent graphics (VPython module), (iii) its excellent on line documentation, (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 some phenomenal physics. In this article, we gave solution of circle polarization by solving Maxwell equation.References
D. Scherer, P. DuBois, B. Sherwood, Scientific computing: VPython, Computing in Science and Engineering 2 (5) (October 2000) 5662.
T. Donaldson, Python as a first programming language for everyone, www.cs.ubc.ca/wccce/Program03/ papers/Toby.html.
A. Downey, J. Elkner, C. Meyers, How to think like a computer scientist: learning with Python, www.greenteapress.com/thinkpython.
M. Lutz, D. Ascher, Learning Python, OŸReilly, ISBN 1-56592-464-9, 1999. [6] A.S. Tanenbaum, R. van Renesse, H. van Staveren, G.J. Sharp, S.J.
Mullender, A.J. Jansen, G. van Rossum, Experiences with the Amoeba distributed operating system, Communications of the ACM 33 (1990) 4663; also on-line at http://www.cs.vu.nl/pub/amoeba/.
RH Landau, MJ Paez, and CC BORDEIANU "A SURVEY OF COMPUTATIONAL PHYSICS" Electronic Materials copyright: R Landau, Oregon State Univ, 2008; MJ Paez, Univ Antioquia, 2008; and CC BORDEIANU, Univ Bucharest, 2008.
Downloads
Published
How to Cite
Issue
Section
License
Author(s) who wish to publish with this journal should agree to the following terms:
- Author(s) retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-Non Commercial 4.0 License (CC BY-NC) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal for noncommercial purposes.
- Author(s) are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
The publisher publish and distribute the Article with the copyright notice to the JPFA with the article license CC-BY-NC 4.0.

