This paper describes a high school or introductory university course in scientific programming that introduces the computer revolution into the physics curriculum at the beginning. In the first one-hour lecture, Euler’s method is presented and used to compute a solution to the analytically unsolvable two-body problem. In the remainder of the course a variety of physical systems are modeled and analyzed to demonstrate the remarkable power and wide range of applicability of the method.

1.
F.
Fitzpatric
, “
Newtonian Dynamics
.”
There is no analytically defined r(t) such that r″ = G·m/r2. Newton derived Kepler’s laws, from which Newton and Kepler derived numerical procedures to approximate r(t)
. http://farside.ph.utexas.edu/teaching/336k/lectures/node32.html.
2.
USF Physics program
, http://physics.usf.edu/ug/program.
A physics major takes calculus courses MAC 2311, 2312, and 2313   in the first two years, and a course in differential equations in the junior year, course PHZ 3113
.
3.
F.
Fitzpatric
, ”
Integrating ODEs
,” http://farside.ph.utexas.edu/teaching/329/lectures/node35.html.
6.
View the appendix
at
TPT Online
, http://dx.doi.org/10.1119/1.5126834, under the Supplemental tab.
7.
N.
Klingbeil
,
R.
Mercer
,
K.
Rattan
,
M.
Raymer
, and
D.
Reynolds
,
The WSU Model for Engineering Mathematics Education
, in
2005 ASEE Annual Conference and Exposition: The Changing Landscape of Engineering and Technology Education in a Global World
, June 12, 2005 – June 15, 2005 (
American Society for Engineering Education
,
2005
).
9.
N.
Chonacky
and
D.
Winch
, “
Integrating computation into the undergraduate curriculum: A vision and guidelines for future developments
,”
Am. J. Phys.
76
,
327
333
(April
2008
).
10.
R.
Chabay
and
B.
Sherwood
, “
Computational physics in the introductory calculus-based course
,”
Am. J. Phys.
76
,
307
313
(April
2008
).
11.
R.
Chabay
and
B.
Sherwood
,
Matter & Interactions
, 4th ed. (
Wiley
,
2015
).
12.
W.
Flannery
, “
Mathematical Modeling and Computational Calculus II
,” http://www.berkeleyscience.com/MMCCII.htm.

Supplementary Material

AAPT members receive access to The Physics Teacher and the American Journal of Physics as a member benefit. To learn more about this member benefit and becoming an AAPT member, visit the Joining AAPT page.