A novel approach for using programming exercises in electromagnetism coursework

  • Orban C
  • Porter C
  • Brecht N
  • et al.
N/ACitations
Citations of this article
7Readers
Mendeley users who have this article in their library.

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. All exercises are available at http://compadre.org/PICUP

Cite

CITATION STYLE

APA

Orban, C., Porter, C. D., Brecht, N. K., Teeling-Smith, R. M., & Harper, K. A. (2018). A novel approach for using programming exercises in electromagnetism coursework. In 2017 Physics Education Research Conference Proceedings (pp. 288–291). American Association of Physics Teachers. https://doi.org/10.1119/perc.2017.pr.067

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free