While studying Weierstrass approximation Theorem, I realized continuity on a compact set is necessary to solve the Theorem. Then, here is my question.
Does there exist a sequence $(p_n)_{n\ge 1}$ of polynomial such that it converges uniformly to $f$ on (0,1), where f is bounded continuous function from $(0,1)$ to $\Bbb R$ ?
I think it is not true because when it comes to $f(x)= sin\frac{1}{x}$, any sequence of polynomial wouldn't converge, but I can't prove it.
Here is Further question
Then, If sequence of polynomial converge uniformly to $f$ on some open interval, $f$ can be continuously extended to the end point..?
I want you to give me a few hints to solve my first question, and give me an counterexample of the other question if it is not true. Thanks.