finished second problem of assignment 2 of advanced engineering vibrations.