Step 1: Set up the area:
\[ A = \int_0^2 2^{kx}dx = \left[\frac{2^{kx}}{k\ln2}\right]_0^2 = \frac{2^{2k}-1}{k\ln 2} \]
Step 2: Use the given area:
\(\frac{2^{2k}-1}{k\ln2} = \frac{2}{\ln2}\), so \(2^{2k} - 1 = 2k\).
Step 3: Solve:
Test \(k = \frac12\): \(2^{1} - 1 = 1\), and \(2k = 1\). It satisfies the equation.
Test the others: \(k=1\) gives \(3 \ne 2\). \(k=2\) gives \(15\ne4\). \(k=-\frac12\) gives \(-\frac12 \ne -1\).
So \(k = \frac12\).
Final Answer:
The value is \(k=\frac12\), option (D).
\[ \boxed{\frac12} \]