Zum Inhalt springen
Hub Nexus

Noch kein AutorÜbernehmen

Version 2Aktualisiert 3 Min. Lesezeit

Unterstützung

Students who signed up for "Physics Playground in Python" had no programming and no physics background, and within about three weeks they were simulating a rocket between Earth and Venus. Maria C. Babiuc Hamilton of Marshall University in Huntington, West Virginia, tells in an arXiv book chapter how she built that course and two more into a ladder of computing in the physics curriculum.

Why computing, and why this way

Computational physics now sits beside theory and experiment, and has supported advances like the first complete simulation of a black hole merger, which is the author's own research area. But formal training in it is missing from most physics departments, and the author notes that most physics faculty who value computing do not include it in their courses. Science and engineering students often avoid computing classes, while computer science students lack the math and science background to simulate nature. Marshall is a regional, mid-sized R2 research university where 12.4% of West Virginians earn a college degree and STEM majors are scarce. The author, like many colleagues, was not formally trained in computing but learned it through research simulating black hole and neutron star collisions.

The design rests on scaffolded learning: successive support steps that are removed as students grow more independent. It was shaped by the community of Integration of Computation into Undergraduate Physics (PICUP), whose virtual workshop helped her redesign a computational physics course around projects, and by the open handbook Teaching and Learning with Jupyter. The three courses form the base of a new computational physics minor.

The three courses

CourseFor whomTeaching styleWhat students do
Physics Playground in PythonHigh school seniors and freshmen, no experience"Hello World": hands-on coding with checkpointsPython and Jupyter basics, then VPython 3D simulations from a bouncing ball to projectiles, drag and planetary orbits
Scientific Computing with PythonSophomores and juniors in all sciences and engineering; vector calculus and linear algebra assumed"Two Bites at Every Apple": revisiting concepts in new contextsNumPy, SciPy, Matplotlib and Pandas; differential equations, fitting data, heat maps, a simple neural network
Computational PhysicsUpper undergraduates and graduate students, mostly math and physics majors"Win-day-one": jump straight into lab chaptersNumerical methods from Euler to Leapfrog and Numerov, boundary problems and statistical methods, with projects often feeding capstone or master's theses

The first course in detail. In four weeks of four hours a day (adaptable to a fifteen-week, three-hour-a-week semester), students install Anaconda, which includes Jupyter, or use online platforms such as Google Colab or MyBinder if their laptops lock installs. Week one covers Python through TIDES modules that each open with a joke or a scientist's profile and have reflection breakpoints. Week two covers iterative numerical methods, a ball bouncing in a 3D box and projectile motion. Newton's second law brings in drag. Week three adds Newton's law of gravity, escape velocity and the Euler-Cromer algorithm, and students see how time steps affect error and stability. The last week builds planetary orbits starting from circular orbits around the sun.

The second course. It uses a textbook on scientific programming with Python and begins with IPython and Jupyter, then spends about three weeks on each of four sections, beginning with NumPy and Matplotlib. The instructor writes and runs code live so students watch the whole process of writing, testing and debugging.

The third course. It teaches computational thinking, breaking problems into simple steps, and how to build scaled, dimensionless models from basic physics. Its first three weeks bring students up to speed in Python, and the rest is in five modules of about two weeks each. One undergraduate project simulated binary black hole and neutron star collisions to model how matter affects gravitational waves.

What the author concludes

The sequence aims to change students' attitudes toward computational physics and attract students who had not considered it, and it could be the basis of a minor, concentration or even a major. The main drawback is low enrollment, because the courses are electives. One student said computational physics draws on many branches of physics to take on unsolved problems and extreme systems.

Sources

Kommentare

Spinner Logo

Mehr zu Bildung

Von Abdul Ariwoola
Random article
Von Hub Nexus editorsAufrufe: 282
A demo for the Hub Nexus content editor, showing what could be created, and at the same time teaching how to create them with each syntax. It follows general markdown syntax, gfm, and more advanced like various charts and graphs code syntax.
CC BY 4.0
Speed and Velocity
CC0 1.0 (gemeinfrei)
AA: This is Avi Arditti with Rosanne Skirble, and this week on Wordmaster -- the language of cliches. RS: These are phrases that lose meaning when we use them all the time. Take the expression: 24-7. That's another way of saying "24 hours a day, seven days a week." When I first heard it, it sounded
CC0 1.0 (gemeinfrei)
A. C. Kemp, an English teacher at M.I.T. and keeper of slangcity.com, did a computer analysis of TV and movie scripts for us and discus