Classical Mechanics with MATLAB Applications
Javier E. Hasbun
Available Java Applications
See also the author's website: http://www.westga.edu/~jhasbun/osp/osp.htm,
jhasbun@westga.edu

These java applications perform the same calculations as the text's Matlab scripts do. These are provided  to enable users to do the text's computations in case Matlab is not available. Clicking any of the htm files, will load the jar file and allow the application to run after one more click at the appearing application botton. Be sure your computer is java enabled to run the application. See other notes at the end of this file.

Chapter1

ch1_ho1App.htm Harmonic Oscillator, position, velocity, acceleration
ch1_ho2App.htm Free fall, air resistance, position, velocity, acceleration

Chapter2

ch2_foftApp.htm Force as a function of time
ch2_ch2_fofxApp.htm Force as a function of position
ch2_fofvApp.htm Force as a function of velocity

Chapter3

ch3_xoftApp.htm Position as a function of time plot
ch3_v_and_fApp.htm Potential and associated force plot
ch3_over_critApp.htm Overdamped and critically dample HO solutions
ch3_under_dampApp.htm Underdampe HO solution
ch3_drive_ampApp.htm Amplitude of the forced HO
ch3_drive_phaseApp.htm Phase difference between driving force and HO solution
ch3_drive_solnApp.htm Solution of the forced HO and driving force plot
ch3_drive_powerApp.htm Power supplied by the driving force to the HO versus frequency

Chapter4

ch4_inter_spr1App.htm Coordinate solutions, single mode coupled spring-mass system
ch4_eigenJacobiApp.htm Eigenvalues,  eigenvectors of a real symmetric 3X3 matrix
ch4_inter_spr2App.htm Coordinate solutions for single mode coupled spring-mass system
ch4_pend0App.htm A1 versus initial angle non-linear approximation of the pendulum
ch4_pend1App.htm Comparison of pendulum periods
ch4_pend2App.htm Pendulum solutions for various approximations and analytic
ch4_molecApp.htm Solution to the two atom melecular potential model

Chapter5

ch5_gradientApp.htm Gradient of a function
ch5_divergenceApp.htm Divergence of a vector
ch5_curlApp.htm Curl of a vector

Chapter6

ch6_parabolaApp.htm Plots parabolas with various curvatures
ch6_projectileApp.htm Plots free fall projectile trajectories
ch6_projectile2App.htm Compares free fall with and without drag.
ch6_cycloid2dApp.htm Charged particle in electric and magnetic fields in 2D.
ch6_cycloid3dmApp.htm Charged particle in electric and magnetic fields in 3D.

Chapter7

ch7_foucaultApp.htm The Foucault pendulum.

Chapter8

ch8_centralApp.htm Solution for a body under a central force.
ch8_orbit_periodApp.htm Time to go from rmin to rmax under a  force F(r)=-a*r^p.
ch8_centraluApp.htm Solution for a body under a central force of the form -a*r^p.
ch8_simple_orbitApp.htm Plots the zero force case orbit u=C*sin(theta)=1/r.
ch8_ellipseApp.htm Draws an ellipse of minimum radius rmin and eccentricity e.
ch8_potentialApp.htm Attractive potential, energy, etc., for body under a central force.
ch8_kepler3rdApp.htm Kepler's 3rd law for planets in the solar system.
ch8_earthorbApp.htm Draws Earth's elliptical orbit around the sun.

Chapter9

ch9_gaus_sphereApp.htm Plots the gravitational field for a sphere of mass M.
ch9_binary1App.htm Binary star system given the eccentricity.
ch9_binary2App.htm Binary star system solved numerically.

Chapter10

ch10_conic1App.htm Plots possible conic section curves for various eccentricities.
ch10_conic2App.htm Obtains the hyperbolic projectile orbit incident on a target.
ch10_conic3App.htm Simulates Rutherford scattering with analytic formulas.
ch10_rutherApp.htm Simulates Rutherford scattering alpha particle path numerically.
ch10_ruther_cross1App.htm Plots scattering cross-section versus scattering angle, fixed target.
ch10_ruther_cross2App.htm Scattering cross-section versus atomic number.
ch10_gm_rutherApp.htm Rutherford scattering compared with experiment.

Chapter11      

ch11_particle2App.htm Linear & angular momenta, energies, forces, and torques.
ch11_rocketApp.htm Solves the variable mass rocket equation and does simulation.
ch11_molec_muApp.htm Plots the coordinates of the atoms of a free falling molecule.
ch11_theta_maxApp.htm Plots the maximum scattering angle theta_1 versus the m2/m1.
ch11_ecoll_2dApp.htm Velocities in two dimensional collisions.
ch11_ruthercm_crossApp.htm Plots scattering cross-section versus scattering angle with recoiling target.

Chapter12

ch12_fixed_axisApp.htm Animates the position of a rod-mass system and angular momentum.
ch12_moment_sdiskApp.htm Finds the integral of 4*f(x)/pi, where f(x) is associated with the moment of a disk.
ch12_cube_princ_axApp.htm Draws a cube with the principal axes based on the entered
symmetric inertia tensor.
ch12_det_soln2_2dApp.htm Uses cartesian coordinates to find a rectangle's inertia tensor numerically.
ch12_r_energyApp.htm Finds the angular momentum of a rigid body about an
axis of rotation given the angular speed.
ch12_torque_freeApp.htm Plots the frequency and angular momentum for torque
free motion of a top versus time in the body (S') frame.
ch12_torque_free_sApp.htm Plots the frequency and angular momentum for torque
free motion of a top versus time in the body (S') frame
as well as in the space frame (S).
ch12_ellipsoApp.htm Calculates an ellipsoid inertia tensor & mass numerically.
ch12_torquef2App.htm Solves Euler's equations for an ellipsoid without torques.
ch12_euler_angApp.htm Shows Euler angles: phi, theta, psi; the planes and the line of nodes.
ch12_topApp.htm Solves Euler's equations and produces plots and simulates.

Chapter13  

ch13_doublepApp.htm Solve the double pendulum equations of motion numerically and plots their solutions & animates the motion.
ch13_least_actionApp.htm Simulates Hamilton's Least Action principle for a particle under the action of gravity.

To use these applications on a local computer, download this and the above htm files (shift-left-mouse-click) as well as the main jar file mechanics.jar to a local directory. Clicking any of the htm file, will load the jar file and allow the application to run after one more click at the appearing application botton. The above java applications have been developed using the Open source physics framework. Please refer to the author's website: http://www.westga.edu/~jhasbun/osp/osp.htm for further information. The source code is available under the OSP concept from this website, and can be compiled with Eclipse, an open source developing platform (http://www.eclipse.org/).
(Note: Open Source Physics code is being distributed under the GNU GPL [http://www.gnu.org/licenses/gpl.html] license. Also to run the applications, the Java engine is needed from  http://java.sun.com/getjava. To write the actual programs, the OSP framework is needed: http://www.opensourcephysics.org/download/)