All right then, I rewrite it here.
I have corrected your original bending curve by inserting the factor of 1/EI where EI is the bending stiffness of the beam I assumed.
[tex]w'(x)=\frac{1}{EI}[\frac{q_{0}}{6}(x-l)^3-\frac{q_{0}l}{4}(x-l)^3-\frac{3q_{0}l}{4}(x-l)^2+\frac{9q_{0}l^3}{24}][/tex]
To find the position along the beam at which the deflection is maximum, w' (x) = 0, NOT w' (0) = 0.
Hence, expanding the unitstep or heaviside functions as if they were normal polynomial functions gives
[tex]w'(x)=\frac{1}{EI}[\frac{q_{0}}{6}(x-l)^3-\frac{q_{0}l}{4}(x-l)^3-\frac{3q_{0}l}{4}(x-l)^2+\frac{9q_{0}l^3}{24}][/tex]
[tex]= \frac{1}{EI}[\frac{q_{0}{6}(x^3-l^3+2l^2x-2lx^2)-\frac{q_{0}l}{4}(x^3\mbox{...})\mbox{...}[/tex]
[tex]=\mbox{...}[/tex]
As you can imagine, it is very complicated. I doubt you would have time solving for x in the examination.
However, you can predict the position along the beam at which the deflection is maximum by observing the moment diagram M(x). Just look at the stationary point(s) and the corresponding position x yields the maximum deflection.
Anyway, our professor has told us that this kind of problem will not be asked in the examination. If it were asked, you just need to write
[tex]w'(x)=\frac{1}{EI}[\frac{q_{0}}{6}(x-l)^3-\frac{q_{0}l}{4}(x-l)^3-\frac{3q_{0}l}{4}(x-l)^2+\frac{9q_{0}l^3}{24}]=0[/tex]
solving for x gives the position along the beam at which maximum deflection occurs.
for the examination is to test your knowledge and skills in mechanics, not elementary pure mathematics (leave this task to the mathematicians).
some of the latex appears to be incorrect, they refuse show what I wanted to display.