A particle executes simple harmonic motion between \( x = -A \) and \( x = +A \). If time taken by particle to go from \( x = 0 \) to \( x = \frac{A}{2} \) is \( 2 \, \text{s} \); then time taken by particle in going from \( x = \frac{A}{2} \) to \( A \) is: