User:Bit 0815

$$H = - \left( 0.1 \log_{2} \left(0.1\right) +0.2 \log_{2} \left(0.2\right) +0.3 \log_{2} \left(0.3\right)+0.4 \log_{2} \left(0.4\right)\right) = 1.8464 $$

$$H = - \left( 0.25 \log_{2} \left(0.25\right) +0.25 \log_{2} \left(0.25\right) +0.25 \log_{2} \left(0.25\right)+0.25 \log_{2} \left(0.25\right)\right) = 2$$

$$H = - \left( 0.25 \log_{2} \left(0.25\right) +0.25 \log_{2} \left(0.25\right) +0.25 \log_{2} \left(0.25\right)+0.25 \log_{2} \left(0.25\right)+ 0.25 \log_{2} \left(0.25\right)+ 0.25 \log_{2} \left(0.25\right)+ 0.25 \log_{2} \left(0.25\right) \right) = 2$$

$$level = \lfloor \left ( x / q \right ) \rfloor $$

$$E \times E $$ $$A \subseteq E^2$$