$f(x)$ has one valued function of $x$ and $C^2$ function on $0<x<L$.