Exact calculation of the squeezed states in the q-representation