Let $K$ be a compact subset of $\mathbb{R^n}$ and let $C(K,\mathbb{R^M})$ denote the vector space of all continuous function from $K$ to $\mathbb{R^n}$. Show that for $f$ in $C(K,\mathbb{R^M})$, the quantity $\parallel f \parallel_\infty = sup_{x\in K}\parallel f(X)\parallel_2$ is finite and $\parallel . \parallel_{\infty}$ is a norm on $C(K,\mathbb{R^M})$.
Im not really sure how to go about this one, i know intuitively that since he dimention of $\mathbb{R^M}$ is finite so the subset should also have a finite dimention and so the norm has to be finite but isnt that obvious or si there something i am not seeing? also im unfamilir with the notation $\parallel f(X)\parallel_2$, why is there a 2 in subscript?
Any help would be useful, thanks