If \(f(x)=\begin{cases} \frac{x-e^{x}+\cos 2x}{x^{2}}, & \text{if }x\neq 0 \\ k, & \text{if }x=0 \end{cases}\) is continuous at \(x=0\), then the value of \(k\) is...
Show Hint
For continuity, k equals the limit of the function as x tends to 0; expand the exponential and cosine as series.