A
Codes, Applets, and Animations

Table A.1 Python codes, Chapters 126.

Name Listing No. Description Name Listing No. Description
EasyVisual 1.1 Visual easy plot 3GraphVisual 1.2 Visual multiplots
3Dshapes 1.3 Visual 3D shapes EasyMatPlot 1.4 Matplot 2D
GradesMatPlot 1.5 Matplot multiplots MatPlot2figs 1.6 Matplot multiplots
PondMatPlot 1.7 Matplot scatter plot Simple3Dplot 1.8 Matplot surface
Scatter3dPlot 1.9 Matplot 3D scatter EqHeatAnimate 1.10 Matplot animation
MayaLines 1.12 Mayavi flow lines MayaYlm 1.10 Mayavi surface
Area 2.1 Simple screen I/O AreaFormatted 2.2 Formatted I/O
Directives 2.3 I/O directives, escape Limits 2.4 Machine precision
Bessel 3.1 Downward recursion Walk 4.1 Random walk
Walk3D 4.1 3D random walk DecaySound 4.2 Spontaneous decay
TrapMethods 5.1 Trapezoid rule IntegGauss 5.2 Gaussian quadrature
vonNeuman 5.3 von Neumann rejection Eigen 6.34 Matrix eigenvalues
Matrix 6.5 Matrix array mult NewtonNDanimate 6.1 N-D Newton–Raphson
Bisection 7.1 Bisection algorithm NewtonCD 7.2 Newton–Raphson search
Lagrange 7.5 Lagrange interpolation Spline 7.3 Spline fitting
SplineInteract 7.3 Interactive splines Fit 7.4 Least-squares fitting
rk4 8.1 rk4 ODE solver rk45 8.2 Adaptive step rk4
ABM 8.3 ABM ODE solver QuantumNumerov 9.1 Schrödinger equation
QuantumEigen 9.2 Quantum eigen rk4 ProjectileAir 9.3 Projectile with drag
TuneNumPy 11.5 NumPy vectors Tune.f90 11.6 Fortran tuning
Tune 11.7 Python tuning Tune4 11.8 Python loop unroll
tune4.f95 11.9 Fortran loop unrolling SumArraysCuda 11.16 CUDA GPU program
SumArraysCuda2 11.17 GPU blocks DFTcomplex 12.1 Complex DFT
DFTreal 12.2 Real DFT FourierMatplot 12.2 Interactive DFT
NoiseSincFilter 12.4 Fourier filtering FFT.py 12.3 Fast Fourier transform
FFTappl 12.3 FFT + graphs CWT 13.1 Continuous wavelets
DWT 13.2 Discrete wavelets Bugs 14.1 Logistic bifurcations
LyapLog 14.2 Lyapunov coefficient Entropy 14.3 Shannon entropy
PredatorPrey 14.4 Population dynamics Fern3D 16.1 3D fern
Column 16.2 Column growth Gameoflife 16.3 Game of life
Islands.pov 16.4 Ray tracing Film online Film deposition
Coastline online Box counting DLA 16.7 Aggregation
Fern 16.1 1D fern Sierpin 16.2 Sierpinsky gasket
IsingViz 17.1 Ising model WangLandau 17.2 Wang–Landau MC
QMC 17.3 Quantum MC QMCbouncer 17.4 QMC bouncer
MD 18.1 1D MD MD2D 18.1 2D MD
LaplaceLine 19.1 Laplace equation EqHeat 20.1 Heat equation solution
EqHeat 20.1 Heat equation HeatCNTridiag 20.2 Better heat
EqStringAnimate 21.1 Wave equation EqStringMatPlot.py online Waves with Matplot
Waves2D 21.2 2D wave equation Waves2Danal online Analytic membrane
HarmosAnimate 22.1 Quantum packet FDTD 22.2 Finite difference time domain
CircPolarztn 22.3 FDTD circular
LaplaceFEM_1D 23.1 Finite element 1D LaplaceFEM_2D 23.2 Finite element 2D
AdvecLax 24.1 Advection equation Soliton 24.2 KdeV solitons
SolitonAnimate online Soliton movie Beam 25.1 Navier–Stokes equation
BeamContour 25.4 Flow contours Bound 26.1 Integral equation eigen
Scatt 26.2 Integral equation scatter

Table A.2 Animations (A player such as VLC or QuickTime required formpeg and avi, and a Web browser for gifs).

Directory Chapter Directory Chapter
DoublePendulum (see also applets) 15 Fractals (see also applets) 16
MapleWaveMovie (requires Maple) 21 Laplace (DX movie) 19
MD 18 TwoSlits 22
2D solitons 21,25 Utilities (scripts, colormaps)
Waves (animated gifs need browser) 21