At each turn, two, not necessarily distinct, integers $A$ and $B$ between 1 and $N$ (inclusive) are chosen uniformly at random. All disks with an index from $A$ to $B$ (inclusive) are flipped.
<imgclass="img-responsive center-block"alt="example for N = 8, with first turn A = 5 and B = 2, and second turn A = 4 and B = 6"src="https://cdn.freecodecamp.org/curriculum/project-euler/range-flips.gif"style="background-color: white; padding: 10px;">
Let $E(N, M)$ be the expected number of disks that show their white side after $M$ turns. We can verify that $E(3, 1) = \frac{10}{9}$, $E(3, 2) = \frac{5}{3}$, $E(10, 4) ≈ 5.157$ and $E(100, 10) ≈ 51.893$.
Find $E({10}^{10}, 4000)$. Give your answer rounded to 2 decimal places behind the decimal point.