Question
If given function is continuous at $x=2$. Find the value of $k$ :$
f(x)=\left\{\begin{array}{cc}
\frac{x^3+x^2-16 x+20}{(x-2)^2}, & \text { when } x \neq 2 \\
k, & \text { when } x=2
\end{array}\right.
$
f(x)=\left\{\begin{array}{cc}
\frac{x^3+x^2-16 x+20}{(x-2)^2}, & \text { when } x \neq 2 \\
k, & \text { when } x=2
\end{array}\right.
$