Davidson College  

 Physics 200 

Spring 2000

J. Peter Campbell 

 
                                   
I am currently a freshman at Davidson College in beautiful Davidson, North Carolina.  I plan to be a Physics major with Pre-Med preparation.  This page is dedicated to my work for Computational Physics, listed as Phy200, which is devoted to Java programming.  

Finland's Flag  This was my first Java Applet.  It might seem simple to you, and it does to me now, but it took me forever to write.

Linear Equation Solver This was my second Java Applet.  It is a linear equation solver.  It will solve for the intercept of any two linear functions.

Lorentz Transformation   My  third applet, this is a descendent of the Transformer class.  It will do a Lorentz transformation converting the values of x and to x' and t' for any given velocity v..  

Linear Regression Graph This is an extremely practical Java Applet.  It will display the best-fit linear relationship for a given set of data.

Pendulum Animator  This applet animates the motion of a pendulum and simultaneously graphs angle and angular velocity of the pendulum.

Electric Potential This applet displays the potential of a field surrounding a capacitor.

Diffusion Limited Aggregation This applet models the formation of randomly created particles such as snowflakes.

Projectile Motion This is the culmination of a semester's worth of work. It compares several different algorithms in the calculation of the trajectory of a projectile.