a, \(u_n=u_1.q^{n-1}\)
\(\Leftrightarrow192=u_1.2^n\)
\(\Leftrightarrow u_1=\dfrac{192}{2^n}\)
\(S_n=\dfrac{u_1\left(1-q^n\right)}{1-q}\)
\(\Leftrightarrow189=\dfrac{\dfrac{192}{2^n}\left(1-2^n\right)}{1-2}\)
\(\Leftrightarrow189=192-\dfrac{192}{2^n}\)
\(\Leftrightarrow\dfrac{192}{2^n}=3\)
\(\Leftrightarrow2^n=2^6\)
\(\Rightarrow n=6\)