Determine the ratio of the sonic velocity \(v\) in a gas to the root mean square velocity of molecules of this gas, if the molecules are (a) monatomic; (b) rigid diatomic.