| |||
| The Equations (ODE2): |
|
d^2 x1/dt^2 = - k1*x1 - k2*(x1 - x2) - 9.8*fk*dx1/dt; d^2 x2/dt^2 = - k1*x2 - k2*(x2 - x1) - 9.8*fk*dx2/dt; |
| The Initial Conditions: |
| x1 = x1(0); x2 = x2(0); v1 = 0; v2 = 0; |
| Mass and Coefficients Convensions: |
|
We have set m1 = m2 = 1 (dimensionless). This means that our k1(k2) has unit N/(m*kg)
|
| Numerical Calculation: |
|
Error range about 0.5%.
|
|
Simulation of Displacement vs. Time: Pink curve is corresponding to the motion of the pink cart. Green curve is corresponding to the motion the green cart. Typical cases:
|
| Reference: |
|
Grant R. Fowles and George L. Cassiday: Analytical Mechanics, 5th Edition, Saunders College Publishing, section 11.3, pp. 382. |
Note: To see these simulations using Swing/Java2D, you must install
J2SE (or JVM plug-in) 1.4.0 or up from Sun Microsystems
| Copyright © 2002-2008, Sherman Lab | ||
|
|