I found wierd (for me) example about computing norm of the functional. We have $$\varphi : \mathcal{C}([0,1])\ni f\mapsto f(1)\in\mathbb{R}$$ with the norm in $\mathcal{C}([0,1])$ given by: $$\Vert f\Vert=\sup_{x\in[0,1]}|f(x)| +\int_0^1 |f(x)|dx.$$
Clearly, it is well-defined and linear so we find a constance of the continuity: $$\Vert\varphi(f)\Vert=|f(1)|\le\sup_{x\in[0,1]}|f(x)|\le\sup_{x\in[0,1]}|f(x)| +\int_0^1 |f(x)|dx=\Vert f\Vert.$$
So $\Vert\varphi(f)\Vert\le M\Vert f\Vert$ for $M=1$. I tried to estimate it in the other way but I failed.
And now we want to find such $f$ that attains the norm, i.e. $$\Vert f\Vert=\sup_{x\in[0,1]}|f(x)| +\int_0^1 |f(x)|dx=1$$ and $$ \Vert\varphi(f)\Vert=M=1.$$
And now I have any idea what to do, cause we have such inequality: $$\Vert\varphi(f)\Vert=|f(1)|\le\sup_{x\in [0,1]}|f(x)|$$ clearly, and since $\int_0^1 |f(x)|dx$ is grater than or equal to $0$ (but $0$ on the right hand side would be attain only for $f\equiv 0$, which contradicts with $\Vert f\Vert=1$), we get a strict inequality: $$1=\Vert\varphi(f)\Vert=|f(1)|<\sup_{x\in [0,1]}|f(x)|+\int_0^1 |f(x)|dx=\Vert f\Vert=1$$
So how to finish it? Some tricky solution or my thinking is wrong completely?