Solution (source code)

= Solution

Rewrite the <exponential function> as $2^x=e^{x\ln2}$. The <chain rule> gives
$$
\boxed{\frac{dy}{dx}=2^x\ln2.}
$$