If C=0 then there is no deflection. Thus the problem is to find the smallest value of L for which f(L)=0. We can set C=1 without affecting the location of the zero and solve f(x)=0.
Order := 8
eqn := diff(u(x),x$2) + a^2*x*u(x)=0;
(NEW)
soln3 := dsolve({eqn,u(0)=1,D(u)(0)=0},u(x),type=series);
(NEW)
assign(soln3);
(NEW)
poly3 := convert(u(x),polynom);
(NEW)