A novel approach for using programming exercises in electromagnetism coursework

POSTER

Abstract

While there exists a significant number of web interactives for introductory physics, students are almost never shown the computer code that generates these interactives even when the physics parts of these programs are relatively simple. Building off of a set of carefully-designed classical mechanics programming exercises that were constructed with this goal in mind, we present a series of electromagnetism programming exercises in a browser-based framework called p5.js. Importantly, this framework can be used to highlight the physics aspects of an interactive simulation code while obscuring other details. This approach allows absolute beginner programmers to gain experience in modifying and running the program without becoming overwhelmed. We plan to probe the impact on student conceptual learning using the Brief Electricity and Magnetism Assessment and other questions. We invite collaborators and teachers to adopt this framework in their high school or early undergraduate classes.

Authors

  • Chris Orban

    Ohio State Univ - Columbus

  • Don Anderson

    Univ of Michigan - Ann Arbor, The University of Texas at Dallas, Ball State University, Department of Physics, Kettering University, Institute of Physics, University of Brasilia, Brazil, Department of Chemistry and Biochemistry, Kettering University, Center for Photovoltaics Innovation and Commercialization (PVIC), Department of Physics and Astronomy, University of Toledo, Univ of Toledo, Department of Physics, Sri Venkateswara University,Tirupati-517 502, Universidad de La Habana, Ohio State Univ - Columbus, Miami University, Physical Therapy, Eastern Michigan University, Physics, Cleveland State University, Youngstown State Univ, Department of Mechanical Engineering, Youngstown State University, Student