The given powers first show 3<log2(10)<4. To choose the nearest integer, compare with the halfway exponent 3.5, not the arithmetic midpoint of 8 and 16.
23.5=82.
Both 82 and 10 are positive. Their squares are 128 and 100, so 82>10. Since 2x increases,
3<log2(10)<3.5.
The nearest whole number is therefore 3.