The forces acting on $m_1$ are:
$F_1 = -c_1 x_1 - c_3 (x_1 - x_2)$
$F_1 = -(c_1 + c_3) x_1 + c_3 x_2$
The forces acting on $m_2$ are:
$F_2 = -c_3 (x_2 - x_1) - c_4 x_2 - c_5 x_2$
$F_2 = c_3 x_1 - (c_3 + c_4 + c_5) x_2$
Therefore, the stiffness matrix is:
$K =
Show more…