integrate (L (L-2 y) sqrt((L-y)^2))/(2 (L-y))dy