Let $I = [a, b]$ be an interval in $\mathbb{R}$. We consider $C(I)$ with the maximum norm and define a subset of $C(I)$
$$M_c=\left\{f \in C^1(I): \int_a^b\vert f(x) \vert ^2dx + \int_a^b\vert f'(x) \vert ^2dx \leq c \right\}.$$
The goal is to show $\bar{M_c}$ is compact in $C(I)$.
My idea is to show that $M_c$ is relatively compact using Arzela-Ascoli lemma. In order to do that I need to show $M_c$ is bounded and equicontinuous. Unfortunately, I have no idea of how to show the latter fact. I would appreciate any help to solve my problem.
To prove that the family is equicontinuous you can just note that all $f\in M_c$ are lipschitz of (common) constant $\frac{c}{b-a}$ (having the first derivative absolutely bounded by construction)