Nonlinear dynamic analysis and chaotic behavior in atomic force microscopy