A particle moves along the \(x\) axis according to the law \(x\) \(=a \cos \omega t .\) Find the distance that the particle covers during the time interval from \(t=0\) to \(t\).