Solve[D[D^2(C/2-D/3),{D,2}]==0,D]