Академический Документы
Профессиональный Документы
Культура Документы
This simulation shows a single mass on a spring, which is connected to the ceiling. The
mass is able to move in 2 dimensions, and gravity operates. Does the motion look
random to you? Watch the graph for a while and you'll see its actually an intricate
pattern.
Enable the "show controls" checkbox to change gravity, mass, spring stiffness, and
friction (damping). You can drag the mass with your mouse to change the starting
position.
(If you don't see the simulation try instructions for enabling Java.)
2D spring variables
An immoveable (but draggable) anchor point has a spring and bob hanging below and
swinging in two dimensions. Regard the bob as a point mass. Define the following
variables:
θ = angle (0 = vertical, increases counter-clockwise)
S = spring stretch (displacement from rest length)
L = length of spring
u = position of bob
v = u'= velocity of bob
a = u''= acceleration of bob
S=L−R (2)
From the pythagorean theorem we can get the length of the spring L in terms of from
the position of the bob, u, and the position of the anchor point, T.
(3)
The sine and cosine of the angle θ are:
ux' = vx
uy' = vy