Comparison of the behavior of exact and approximate modelling of a nonlinear oscilator with one degree-of-freedom