\(2^{n+2}-2^n=24\\ 2^n\left(2^2-1\right)=24\\ 2^n.3=24\\\Rightarrow 2^n=8\\ \Rightarrow2^n=2^3\\ \Rightarrow n=3\)
\(2^{n+2}-2^n=24\)
\(\Rightarrow2^n\left(2^2-1\right)=24\)
\(\Rightarrow2^n.3=24\)
\(\Rightarrow2^n=8\)
\(\Rightarrow2^n=2^3\)
\(\Rightarrow n=3\)