This is a simple spring mass damping problem. It allows you to adjust the stiffness of the spring, the mass size and the damping coefficient. The equation being solved is . The initial velocity is assumed to be zero and the displacement (the amount the spring is stretched) is adjustable.