Could any one tell me how to solve this one?
Given $f\in C[0,\infty)$ such that $f(x)\to 0$ as $x\to\infty$ we need to show that for any $\epsilon>0$ there is a polynomial $p$ such that $|f(x)-e^{-x}p(x)|<\epsilon \qquad \forall~ x\in[0,\infty)$
I just know the statement of Weierstrass Polynomial Approximation Theorem and that seems very far from the given problem, but somehow I feel I need to apply the theorem.
It's not a "solution" (proof?) but I would like to give some details to your question.
$$ \vert f(x)-e^{-x}p(x)\vert=e^{-x}\vert g(x)-p(x)\vert, $$ where $\lim_{x\to\infty}e^{-x}g(x)=0$. Your question is about the density of polynomials in the weighted space (weight function is $e^{-x}$) on the half-line. More info can be found Stone-Weierstrass theorem (locally compact version). The literature of weighted approximation in $L_p$ spaces is huge.