Jack Ord- Physics Example Programs

Old hands may remember Jack Ord- Physics prof. at Waterloo Uni in Canada. He produced some lovely code for demonstrations to students. Sadly he died about 2 years ago, and his website has been closed.

Courtesy of the Wayback Machine I've a collection of most of his work. It is not that easy to find via that site, and I don't know a way to download the whole relevant section that holds his work.'wget' doesn't seem to work in these circumstances.

I've harvested a lot of Jack's code- mostly the ones that interest me! The Wayback machine has got me the pages for most, but they do not recreate a remote copy of the site- rather any links go back to the WBM's copy of the page, being direct not relative references. Also, Jack made many revisions through the years, and moved to Postscript and JAVA and BBC BASIC. You can always go to the Wayback copies to see in a more helpful way. archive of Jack's work.

I've put up this site, because people with a science/maths background could learn a lot from his code. It seems a fitting tribute to preserve at least some of his work.

Below is a list of LB code for various Physics situations. Available as a zip file.

Added the pages of description. Don't expect the internal links to work- and I haven't included the diagrams so they'll show as empty. Contact me if you want to see the formulae, particularly!! zip file of texts

List ofavailable code topics ( some BBC BASIC only.This is available free on the internet on all platforms.)


NB Most of the LB programs need a 'scan' adding, and change to a subroutine to exit.

NB The BBC code is runnable in the free ( and excellent) BBC BASIC, on all plaatforms.
        Could easily convert to LB
        Jack coded in LB, Java and Postscript!! ( But not always all three)

bench.bas       central forceorbits -changed 'loop' to 'luup' since reserved word

bplot.bas       magnetic field of coil

cofm.bas        two particles orbit centre of mass

df1lib.bas      diffraction by array

df2lib.bas      diffraction thru' circular aperture

df3lib.bas      diffraction through square and triangle apertures

df4lib.bas      diffraction through 1, 3, 5 slits

df5bbc.bas          BBC

df6bbc.bas          BBC

fbowl.bas       particles sliding in bowl with friction

fcomb.bas       motion of 2 or three bodies round Centre of Mass

felect.bas      electrons moving in cylindrically symmetrical field
felelib.bas     

feytab.bas      mass-on-a-spring by Feynman method -as a table.

fgolf.bas       golf ball with wind and friction.                   Problem?

fgun.bas        cannon with air friction, altitude dependent

fhomer.bas      cannon
  
forbit.bas      projectile launched from North Pole

fosalib.bas     masses hanging from springs one below the other

fosbb.bas       masses hanging from springs one below the other

foscb.bas           BBC

fosdb.bas           BBC

fplt.bas        compare Euler and Feynman algorithm graphs with analytical solution

fpltb.bas           BBC

frdslib.bas     two rods are attracted by mutual gravity

fscat.bas       Rutherford alpha scattering

fsprb.bas           BBC Mass on a spring

fspring.bas     Mass on s spring

ftabb.bas           BBC Mass on a spring

ftjnlib.bas     Trojan point- 3 body problem

fudpb.bas           BBC Ball thrown up at terminal velocity

fudps.bas       Ball thrown up at terminal velocity

gc1lib.bas      Magnetic field round three current carrying wires

gc2lib.bas      Magnetic firld through current-carring loop

gc3lib.bas      magnetic fieldlines in the x-y plane due to
                '   (1) a current-carrying loop centered in the x-z plane
                '   (2) a north/south pole pair centered on the y-axis

gcpot.bas       Potential plot for equilateral mass array

gd1lib.bas      solution of Laplace's equation

gd2lib.bas      Laplace's equation for concentric square prisms sides L and 2L

gplot.bas       fieldlines and equipotentials for an equilateral mass array

h1alib.bas      path for fastest route between fixed points in a uniform gravitational field

h1blib.bas      hanging chain (n mass points on an n+1 segment string)

h1clib.bas      catenary??                  ?Problem with code?

h2alib.bas      trapezoid and "vbar" integration algorithms for mass-spring system

h3alib.bas      bouncing ball

h3blib.bas      period of a pendulum with 90 degree amplitude

h5alib.bas      Harmonic Oscillator and Bouncing Ball Eigenvalues       'end if' added

h5blib.bas      Bouncing Ball Probability Density

h5clib.bas      the two lowest energy states of a double well (an infinite square well with a central barrier)

h6alib.bas      Central Force Motion: apsidal angle integral

h7alib.bas      Schrodinger equation for the hydrogen atom:

h8abbc.bas          BBC

mdipole.bas     magnetic fieldlines in the x-y plane due to (1) a current-carrying loop centered in the x-z plane   (2) a north/south pole pair centered on the y-axis

mplot.bas       magnetic field lines about parallel wires carrying currents -I, 2I, and -I


nm1lib.bas      Plucked string. Wave superposition

nm2lib.bas      motion of 8-segment string clamped at both ends

nm3lib.bas      Plucked string

nm4lib.bas      Plucked string

nm5lib.bas      Pulse on string

nm6lib.bas      FFSS coefficients for Pulse A and Pulse B on a n-segment string clamped at both ends

nm7lib.bas      wave pulse incident on a variable thickness segment where the mass density
                '   increases by a factor of 1.44 followed by a region where the mass density
                '   increases again by a factor of 1.44

qm1bbc.bas          BBC quantum wave in a square well

qm2bbc.bas          BBC quantum wave

qm3bbc.bas          BBC quantum wave (Pulse B) incident on a variable thickness region 

qm4bbc.bas          BBC    superposition of the two lowest energy states of a double well

qm5b.bas            BBC     Quantum Harmonic Oscillator

qplot.bas       fieldlines and equipotentials for an equilateral -Q, +2Q, -Q array



Code