mass property

double mass
final

The mass of the spring (m).

The units are arbitrary, but all springs within a system should use the same mass units.

The greater the mass, the larger the amplitude of oscillation, and the longer the time to return to the equilibrium position.

Implementation

final double mass;